HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   suPHP problem on (http://www.howtoforge.com/forums/showthread.php?t=48938)

andcar 21st September 2010 12:52

suPHP problem on
 
Hi all.
My system is as follows: ISPconfig 2.2.37
suphp (following the howto on howtoforge) version 0.7.1
Ubuntu 8.04.4
Apache2
The problem is that the /etc/apache2/vhosts/Vhosts_ispconfig.conf created by ISPConfig has in all websites the entry
eg. "suPHP_UserGroup nobody web20"
instead it should be
"suPHP_UserGroup www-data web20".
I've made this workaround by hand (manually with a sed on the Vhost file), cause with the nobody user all the websites where giving me the error:
eg. "Mismatch between target UID (65534) and UID (33) of file "/var/www/web20/web/index.php"
where 65534 UID is the nobody user ID and 33 is the www-data ID.
I've checked the /etc/suphp.conf and in there I've found the correct setting
webserver_user=www-data
Please tell me if there is something else I must check.

andcar 22nd September 2010 11:42

Solved
 
Hi again,
I've found the solution googling a lot.
The problem is that every new website needs an Admin user created..in this way ISPconfig writes the right user to the Vhost file.
Hope that this will help someone else.
Andrea


All times are GMT +2. The time now is 16:49.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.