<!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> </DIV></FONT>
<DIV>HI All</DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<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">www.testtest.com</A>(:80)?$
[NC]<BR>RewriteCond
%{HTTP_HOST}
!^<A href="http://testtest.com">testtest.com</A>(:80)?$ [NC]<BR>RewriteCond
%{HTTP_HOST}
!^<A href="http://mail.testtest.com">mail.testtest.com</A>(:80)?$ [NC]</DIV>
<DIV>RewriteRule
^/(.*)
<A href="http://www.testtest.com/$1">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">www.testtest.com</A>(:80)?$
[NC]<BR>RewriteCond
%{HTTP_HOST}
!^<A href="http://testtest.com">testtest.com</A>(:80)?$ [NC]<BR>RewriteCond
%{HTTP_HOST}
!^<A href="http://mail.testtest.com">mail.testtest.com</A>(:80)?$ [NC] </DIV>
<DIV>RewriteRule
^/(.*)
<A href="http://www.testtest.com/$1">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>
<P>
<HR>
<P></P>_______________________________________________<BR>
<DIV><FONT size=2 face=Arial>Do not ever edit the </FONT></DIV>
<DIV><FONT size=2 face=Arial>/etc/httpd/conf/vhosts/site51 file!</FONT></DIV>
<DIV><FONT size=2 face=Arial>it is over written on any changes in</FONT></DIV>
<DIV>
<DIV><FONT size=2 face=Arial>blue onyx or BQ cobalt ect...
EG;</FONT></DIV></DIV>
<DIV>!!!! # BEGIN PHP SECTION. DO NOT EDIT MARKS OR IN BETWEEN.
!!!!!<BR></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Put your vsite changes in the .include
file</FONT></DIV>
<DIV><FONT size=2 face=Arial><FONT size=3
face="Times New Roman">/etc/httpd/conf/vhosts/site51.include</FONT></FONT></DIV>
<DIV><FONT size=2 face=Arial><FONT size=3 face="Times New Roman">They will
stay put when you make changes in the control panel...</FONT><BR></FONT></DIV>
<DIV><FONT size=2 face=Arial>Hope that helps</FONT></DIV>
<DIV><FONT size=2 face=Arial>David Hahn</DIV></FONT></BLOCKQUOTE></BODY></HTML>