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

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


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/6f5c86db/attachment.html>


More information about the Blueonyx mailing list