<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19190">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<BLOCKQUOTE 
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
  <DIV><FONT size=2 face=Arial></FONT><BR></DIV>
  <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="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" 
  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>
  <P>
  <HR>

  <P></P>
  <DIV>_______________________________________________<BR>If i understand 
  correctly what your after is you loose your changes when cced has 
  changed.</DIV>
  <DIV>Use the  '/etc/httpd/conf/vhosts/site##.include' to put your php 
  changes you want to keep.</DIV>
  <DIV>Each vsite has a .include file.</DIV>
  <DIV>Example:</DIV>
  <DIV><FONT size=2 face=Arial>php_admin_value open_basedir none</FONT></DIV>
  <DIV><FONT size=2 face=Arial></FONT> </DIV>
  <DIV><FONT size=2 face=Arial>Hope that helps.</FONT></DIV>
  <DIV><FONT size=2 face=Arial></FONT> </DIV>
  <DIV><FONT size=2 face=Arial>David Hahn</FONT></DIV>
  <DIV> </DIV></BLOCKQUOTE></BODY></HTML>