<div>My Blueonxy is build 20110817 for a 5106R in en_US<br>All the yum in update.</div><div><br><br> </div><div class="gmail_quote">On Sun, Mar 11, 2012 at 11:34 AM, Mon Chan <span dir="ltr"><<a href="mailto:mon.chan@gmail.com">mon.chan@gmail.com</a>></span> wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div>HI All</div><div> </div><div>When i edit Web Server Aliases , the php config will loss.</div>
<div> </div><div>1. I create the test site, with one aliases, the php is work</div><div>2. Add one more web server aliases in UI, the php config will gone.</div>
<div>###<br>RewriteEngine on<br>RewriteCond %{HTTP_HOST}                !^59.xxx.x.10(:80)?$<br>RewriteCond %{HTTP_HOST}                !^<a href="http://www.testtest.com" target="_blank">www.testtest.com</a>(:80)?$ [NC]<br>
RewriteCond %{HTTP_HOST}                !^<a href="http://testtest.com" target="_blank">testtest.com</a>(:80)?$ [NC]<br>
RewriteCond %{HTTP_HOST}                !^<a href="http://mail.testtest.com" target="_blank">mail.testtest.com</a>(:80)?$ [NC]</div><div>RewriteRule ^/(.*)                      <a href="http://www.testtest.com/$1" target="_blank">http://www.testtest.com/$1</a> [L,R=301]<br>

RewriteOptions inherit<br>AliasMatch ^/~([^/]+)(/(.*))?           /home/.sites/106/site51/users/$1/web/$3<br>Include /etc/httpd/conf/vhosts/site51.include<br># BEGIN PHP SECTION.  DO NOT EDIT MARKS OR IN BETWEEN.<br></div>

<div>3. But i del add the web server aliases, the php config is back (but the rewrite still here?) </div><div>###<br>RewriteEngine on<br>RewriteCond %{HTTP_HOST}                !^59.xxx.x.10(:80)?$<br>RewriteCond %{HTTP_HOST}                !^<a href="http://www.testtest.com" target="_blank">www.testtest.com</a>(:80)?$ [NC]<br>

RewriteCond %{HTTP_HOST}                !^<a href="http://testtest.com" target="_blank">testtest.com</a>(:80)?$ [NC]<br>RewriteCond %{HTTP_HOST}                !^<a href="http://mail.testtest.com" target="_blank">mail.testtest.com</a>(:80)?$ [NC] </div>

<div>RewriteRule ^/(.*)                      <a href="http://www.testtest.com/$1" target="_blank">http://www.testtest.com/$1</a> [L,R=301]<br>RewriteOptions inherit<br>AliasMatch ^/~([^/]+)(/(.*))?           /home/.sites/106/site51/users/$1/web/$3<br>

Include /etc/httpd/conf/vhosts/site51.include<br># BEGIN WebScripting SECTION.  DO NOT EDIT MARKS OR IN BETWEEN.<br>AddType application/x-httpd-php .php5<br>AddType application/x-httpd-php .php4<br>AddType application/x-httpd-php .php<br>

# END WebScripting SECTION.  DO NOT EDIT MARKS OR IN BETWEEN.<br></div>
</blockquote></div><br>