Page 2 of 2

Re: Apache processes not running as user?

Posted: Thu Jan 10, 2013 7:54 pm
by skid
That's weird... so you can reproduce this bug on fresh system?

Re: Apache processes not running as user?

Posted: Fri Jan 11, 2013 4:34 am
by Omar
skid wrote:That's weird... so you can reproduce this bug on fresh system?
yes.

Re: Apache processes not running as user?

Posted: Sat Jan 12, 2013 9:34 am
by skid
Ok thank you, investigating.

Re: Apache processes not running as user?

Posted: Mon Jan 14, 2013 12:48 pm
by skid
I found it! You was right about SetHandler, for some reason it overrides AddHandler directives for virtualhost. This bug appeared when remi repo switched to php-5.4. Here is the fix:

Code: Select all

# Update control panel to version 0.9.7-15
yum update vesta

# Download new templates
cd /usr/local/vesta/data/templates/web/
wget http://c.vestacp.com/0.9.7/templates/web/apache_phpfcgid.stpl -O apache_phpfcgid.stpl
wget http://c.vestacp.com/0.9.7/templates/web/apache_phpfcgid.tpl -O apache_phpfcgid.tpl

# Rebuild web domain configuration
for user in $(v-list-sys-users plain); do v-rebuild-web-domains $user;done

Re: Apache processes not running as user?

Posted: Tue Jan 15, 2013 1:51 am
by Omar
skid wrote:I found it! You was right about SetHandler, for some reason it overrides AddHandler directives for virtualhost. This bug appeared when remi repo switched to php-5.4. Here is the fix:

Code: Select all

# Update control panel to version 0.9.7-15
yum update vesta

# Download new templates
cd /usr/local/vesta/data/templates/web/
wget http://c.vestacp.com/0.9.7/templates/web/apache_phpfcgid.stpl -O apache_phpfcgid.stpl
wget http://c.vestacp.com/0.9.7/templates/web/apache_phpfcgid.tpl -O apache_phpfcgid.tpl

# Rebuild web domain configuration
for user in $(v-list-sys-users plain); do v-rebuild-web-domains $user;done
Excellent!, now works perfectly :)

thanks