[BlueOnyx:09780] Re: When i edit Web Server Aliases ,

Ernie ernie at info.eis.net.au
Sat Mar 10 23:44:29 -05 2012


Yep, that problem has been there for ages, when I have a site, usually with
suPHP and I alter the aliases, the PHP switches off.

You have to untick PHP, save, then tick it again, save.


- Ernie.



> 
> --===============1001765125==
> Content-Type: multipart/alternative; boundary=e0cb4efe3156e7d31804baef4e4c
> 
> --e0cb4efe3156e7d31804baef4e4c
> Content-Type: text/plain; charset=ISO-8859-1
> 
> 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.
> 
> --e0cb4efe3156e7d31804baef4e4c
> Content-Type: text/html; charset=ISO-8859-1
> Content-Transfer-Encoding: quoted-printable
> 
> <div>HI All</div><div>=A0</div><div>When i edit Web Server Aliases , the ph=
> p config will loss.</div><div>=A0</div><div>1.=A0I create the test site, wi=
> th one aliases, the php is work</div><div>2.=A0Add one more web server alia=
> ses in UI, the php config will gone.</div>
> <div>###<br>RewriteEngine on<br>RewriteCond %{HTTP_HOST}=A0=A0=A0=A0=A0=A0=
> =A0=A0=A0=A0=A0=A0=A0=A0=A0 !^59.xxx.x.10(:80)?$<br>RewriteCond %{HTTP_HOST=
> }=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 !^<a href=3D"http://www.test=
> test.com">www.testtest.com</a>(:80)?$ [NC]<br>RewriteCond %{HTTP_HOST}=A0=
> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 !^<a href=3D"http://testtest.com=
> ">testtest.com</a>(:80)?$ [NC]<br>
> RewriteCond %{HTTP_HOST}=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 !^<a =
> href=3D"http://mail.testtest.com">mail.testtest.com</a>(:80)?$ [NC]</div><d=
> iv>RewriteRule ^/(.*)=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
> =A0=A0=A0 <a href=3D"http://www.testtest.com/$1">http://www.testtest.com/$1=
> </a> [L,R=3D301]<br>
> RewriteOptions inherit<br>AliasMatch ^/~([^/]+)(/(.*))?=A0=A0=A0=A0=A0=A0=
> =A0=A0=A0=A0 /home/.sites/106/site51/users/$1/web/$3<br>Include /etc/httpd/=
> conf/vhosts/site51.include<br># BEGIN PHP SECTION.=A0 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 t=
> he rewrite still here?)=A0</div><div>###<br>RewriteEngine on<br>RewriteCond=
>  %{HTTP_HOST}=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 !^59.xxx.x.10(:8=
> 0)?$<br>RewriteCond %{HTTP_HOST}=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
> =A0 !^<a href=3D"http://www.testtest.com">www.testtest.com</a>(:80)?$ [NC]<=
> br>
> RewriteCond %{HTTP_HOST}=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 !^<a =
> href=3D"http://testtest.com">testtest.com</a>(:80)?$ [NC]<br>RewriteCond %{=
> HTTP_HOST}=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 !^<a href=3D"http:/=
> /mail.testtest.com">mail.testtest.com</a>(:80)?$ [NC] </div>
> <div>RewriteRule ^/(.*)=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
> =A0=A0=A0=A0 <a href=3D"http://www.testtest.com/$1">http://www.testtest.com=
> /$1</a> [L,R=3D301]<br>RewriteOptions inherit<br>AliasMatch ^/~([^/]+)(/(.*=
> ))?=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 /home/.sites/106/site51/users/$1/web/$3<b=
> r>
> Include /etc/httpd/conf/vhosts/site51.include<br># BEGIN WebScripting SECTI=
> ON.=A0 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-htt=
> pd-php .php<br>
> # END WebScripting SECTION.=A0 DO NOT EDIT MARKS OR IN BETWEEN.<br></div>
> 
> --e0cb4efe3156e7d31804baef4e4c--
> 
> --===============1001765125==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> 
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx
> 
> --===============1001765125==--
> 


-- 
"I Ping therefore I am."



More information about the Blueonyx mailing list