[BlueOnyx:09777] Re: When i edit Web Server Aliases , the php config will loss.

Mon Chan mon.chan at gmail.com
Sat Mar 10 22:48:08 -05 2012


My Blueonxy is build 20110817 for a 5106R in en_US
All the yum in update.



On Sun, Mar 11, 2012 at 11:34 AM, Mon Chan <mon.chan at gmail.com> wrote:

> HI All
>
> When i edit Web Server Aliases , the php config will loss.
>
> 1. I create the test site, with one aliases, the php is work
> 2. Add one more web server aliases in UI, the php config will gone.
> ###
> RewriteEngine on
> RewriteCond %{HTTP_HOST}                !^59.xxx.x.10(:80)?$
> RewriteCond %{HTTP_HOST}                !^www.testtest.com(:80)?$ [NC]
> RewriteCond %{HTTP_HOST}                !^testtest.com(:80)?$ [NC]
> RewriteCond %{HTTP_HOST}                !^mail.testtest.com(:80)?$ [NC]
> RewriteRule ^/(.*)                      http://www.testtest.com/$1[L,R=301]
> RewriteOptions inherit
> AliasMatch ^/~([^/]+)(/(.*))?
> /home/.sites/106/site51/users/$1/web/$3
> Include /etc/httpd/conf/vhosts/site51.include
> # BEGIN PHP SECTION.  DO NOT EDIT MARKS OR IN BETWEEN.
> 3. But i del add the web server aliases, the php config is back (but the
> rewrite still here?)
> ###
> RewriteEngine on
> RewriteCond %{HTTP_HOST}                !^59.xxx.x.10(:80)?$
> RewriteCond %{HTTP_HOST}                !^www.testtest.com(:80)?$ [NC]
> RewriteCond %{HTTP_HOST}                !^testtest.com(:80)?$ [NC]
> RewriteCond %{HTTP_HOST}                !^mail.testtest.com(:80)?$ [NC]
> RewriteRule ^/(.*)                      http://www.testtest.com/$1[L,R=301]
> RewriteOptions inherit
> AliasMatch ^/~([^/]+)(/(.*))?
> /home/.sites/106/site51/users/$1/web/$3
> Include /etc/httpd/conf/vhosts/site51.include
> # BEGIN WebScripting SECTION.  DO NOT EDIT MARKS OR IN BETWEEN.
> AddType application/x-httpd-php .php5
> AddType application/x-httpd-php .php4
> AddType application/x-httpd-php .php
> # END WebScripting SECTION.  DO NOT EDIT MARKS OR IN BETWEEN.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20120311/ded6bc78/attachment.html>


More information about the Blueonyx mailing list