[BlueOnyx:06166] Re: PHP switched off suddenly

Darrell D. Mobley dmobley at uhostme.com
Wed Dec 22 11:07:15 -05 2010


He happy!  I modified a site with four web aliases the other day and what
used to look like this:

 

ServerName host.domain.tld

ServerAlias domain.tld host.alias1.tld alias1.tld host.alias2.tld alias2.tld
host.alias3.tld alias3.tld  host.alias4.tld alias4.tld

 

RewriteCond %{HTTP_HOST}                !^xxx.xxx.xxx.xxx(:80)?$

RewriteCond %{HTTP_HOST}                !^host.domain.tld(:80)?$ [NC]

RewriteRule ^/(.*)                       http://host.domain.tld/$1 [L,R=301]

 

Now looks like this:

 

ServerName host.domain.tld

ServerAlias domain.tld host.alias1.tld alias1.tld host.alias2.tld alias2.tld
host.alias3.tld alias3.tld  host.alias4.tld alias4.tld

 

RewriteCond %{HTTP_HOST}                !^xxx.xxx.xxx.xxx(:80)?$

RewriteCond %{HTTP_HOST}                !^host.domain.tld(:80)?$ [NC]

RewriteCond %{HTTP_HOST}                !^domain.tld(:80)?$ [NC]

RewriteCond %{HTTP_HOST}                !^host.alias1.tld(:80)?$ [NC]

RewriteCond %{HTTP_HOST}                !^alias1.tld(:80)?$ [NC]

RewriteCond %{HTTP_HOST}                !^host.alias2.tld(:80)?$ [NC]

RewriteCond %{HTTP_HOST}                !^alias2.tld(:80)?$ [NC]

RewriteCond %{HTTP_HOST}                !^host.alias3.tld(:80)?$ [NC]

RewriteCond %{HTTP_HOST}                !^alias3.tld(:80)?$ [NC]

RewriteCond %{HTTP_HOST}                !^host.alias4.tld(:80)?$ [NC]

RewriteCond %{HTTP_HOST}                !^alias4.tld(:80)?$ [NC]

 

RewriteRule ^/(.*)                      http://host.domain.tld/$1 [L,R=301]

 

From: blueonyx-bounces at blueonyx.it [mailto:blueonyx-bounces at blueonyx.it] On
Behalf Of Christian Fahrni
Sent: Wednesday, December 22, 2010 12:56 AM
To: BlueOnyx General Mailing List
Subject: [BlueOnyx:06165] Re: PHP switched off suddenly

 

Hi Taco

 

Yes, we can reproduce it.

Everytime i add a new Web-Alias to the site and save it, the whole
"WebScripting"-Section will be removed from the siteXX config file.

 

This whole block is missing after saving:

 

# BEGIN WebScripting SECTION.  DO NOT EDIT MARKS OR IN BETWEEN.

AddHandler cgi-wrapper .cgi

AddHandler cgi-wrapper .pl

AddHandler server-parsed .shtml

AddType text/html .shtml

AddType application/x-httpd-php .php4

AddType application/x-httpd-php .php

# END WebScripting SECTION.  DO NOT EDIT MARKS OR IN BETWEEN.

 

Any ideas? Thanks in advance.

 

Best regards,

Christian

 

2010/12/21 Taco Scargo <taco at blueonyx.it>

Christian,

These are indeed the latest versions and you should not have this problem
anymore.
Can you reproduce it ?

With regards,

Taco Scargo
taco at blueonyx.it



On 21 dec 2010, at 07:22, Christian Fahrni wrote:

> Hi
>
> We have exactly the same problem listed above.
> If i add a new web-alias the php stops working and i need to uncheck- and
check it again to reactivate it.
>
> I've checked on new updates but the server looks up to date
>
> [root at unlockedsrv1 ~]# yum list | grep "base-apache-glue"
> base-apache-glue.noarch                 1.3.0-0BX08.centos5
installed
> [root at unlockedsrv1 ~]# yum list | grep "base-vsite-glue"
> base-vsite-glue.noarch                  3.0-132BX73.centos5
installed
>
> Are these the correct versions of the packages?
> We have this problem on two servers right now..
>
> Thanks for your help.
>
> Regards,
> Christian
>

> _______________________________________________
> Blueonyx mailing list
> Blueonyx at blueonyx.it
> http://www.blueonyx.it/mailman/listinfo/blueonyx


_______________________________________________
Blueonyx mailing list
Blueonyx at blueonyx.it
http://www.blueonyx.it/mailman/listinfo/blueonyx

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20101222/283ce2d3/attachment.html>


More information about the Blueonyx mailing list