Hi, I just happened to be installing ispcp and may have downloaded the package before the changes were made yesterday.
So far my email is working from my vhcs2 upgrade which took me 5pm-12am and now im working on getting the websites to show up. Its been a long scary process
Im getting the same errors but it looks as if my permissions are correct:
drwxr-xr-x 48 vu2000 vu2000 4096 Nov 23 19:12 /var/www/fcgi
drwxr-xr-x 4 vu2000 vu2000 4096 Nov 23 19:04 /var/www/fcgi/master
dr-xr-xr-x 12 vu2000 www-data 4096 Nov 23 18:53 /var/www/ispcp/gui
drwxrwx--- 18 vu2055 www-data 4096 Nov 23 19:12 /var/www/virtual/lwp.ca
and my apache config for this domain looks like:
Code:
<VirtualHost 216.208.38.144:80>
<IfModule suexec_module>
SuexecUserGroup vu2055 vu2055
</IfModule>
ServerAdmin root@lwp.ca
DocumentRoot /var/www/virtual/lwp.ca/htdocs
ServerName lwp.ca
ServerAlias www.lwp.ca lwp.ca *.lwp.ca
ErrorLog /var/log/apache2/users/lwp.ca-error.log
TransferLog /var/log/apache2/users/lwp.ca-access.log
CustomLog /var/log/apache2/lwp.ca-traf.log traff
CustomLog /var/log/apache2/lwp.ca-combined.log combined
Alias /errors /var/www/virtual/lwp.ca/errors/
ErrorDocument 401 /errors/401/index.php
ErrorDocument 403 /errors/403/index.php
ErrorDocument 404 /errors/404/index.php
ErrorDocument 500 /errors/500/index.php
Alias /pma /var/www/ispcp/gui/tools/pma/
Alias /webmail /var/www/ispcp/gui/tools/webmail/
Alias /ftp /var/www/ispcp/gui/tools/filemanager/
<Directory /var/www/ispcp/gui>
Options -Indexes Includes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<IfModule mod_fastcgi.c>
ScriptAlias /php4/ /var/www/fcgi/master/
ScriptAlias /php5/ /var/www/fcgi/master/
<Directory "/var/www/fcgi/master">
AllowOverride None
Options +ExecCGI MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mod_php4.c>
<Directory /var/www/ispcp/gui>
php_admin_value open_basedir "/var/www/ispcp/gui/:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/"
php_admin_value session.save_path "/var/www/ispcp/gui/phptmp/"
php_admin_value upload_tmp_dir "/var/www/ispcp/gui/phptmp/"
</Directory>
</IfModule>
<IfModule mod_php5.c>
<Directory /var/www/ispcp/gui>
php_admin_value open_basedir "/var/www/ispcp/gui/:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/"
php_admin_value session.save_path "/var/www/ispcp/gui/phptmp/"
php_admin_value upload_tmp_dir "/var/www/ispcp/gui/phptmp/"
</Directory>
</IfModule>
php_admin_value open_basedir "/var/www/virtual/lwp.ca/htdocs/:/var/www/ispcp/gui/:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/"
<Directory /var/www/virtual/lwp.ca/htdocs>
# httpd dmn entry PHP support BEGIN.
# httpd dmn entry PHP support END.
Options Indexes Includes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
the error logs:
Code:
tail /var/log/apache2/suexec.log
[2008-11-24 01:51:09]: uid: (vu2055/vu2055) gid: (2055/2055) cmd: php5-fcgi-starter
[2008-11-24 01:51:09]: target uid/gid (2055/2055) mismatch with directory (2000/2000) or program (2000/2000)
and i can successfully execute this command with no problem:
Code:
php5-cgi -f /var/www/virtual/lwp.ca/htdocs/index.php
any ideas that might help?
thanks greatly!