ispCP - Board - Support
403 Forbidden on php scripts (using mod_fcgi) - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: 403 Forbidden on php scripts (using mod_fcgi) (/thread-3142.html)



403 Forbidden on php scripts (using mod_fcgi) - hxbro - 04-27-2008 12:09 AM

I'm getting 403 forbidden on php scripts (html files are working fine), I'm using mod_fcgi (rather than mod_fastcgi) + suexec

It's working fine for the domain that runs ispcp but not for any other domains, I've compared the config between the two vhosts and they look correct.

Can someone confirm what the permissions and users should be in the following dirs and files:

/var/www/fcgi
/var/www/fcgi/domainname
/var/www/fcgi/domainname/php5
/var/www/fcgi/domainname/php5/php.ini
/var/www/fcgi/domainname/php5-fcgi-starter

/var/www/fcgi/master
/var/www/fcgi/master/php5
/var/www/fcgi/master/php5/php.ini
/var/www/fcgi/master/php5-fcgi-starter

I'm not seeing any reference to the 403 forbidden in the logs either, so if anyone knows where that might get logged it might help work out what the problem is!


RE: 403 Forbidden on php scripts (using mod_fcgi) - ephigenie - 04-27-2008 01:50 AM

you see anything in the suexec.log ?


RE: 403 Forbidden on php scripts (using mod_fcgi) - hxbro - 04-27-2008 05:25 AM

[2008-02-24 19:29:57]: uid: (2000/vu2000) gid: (2000/2000) cmd: php5-fcgi-starter
[2008-03-27 15:12:02]: uid: (2000/vu2000) gid: (2000/2000) cmd: php5-fcgi-starter
[2008-04-12 07:18:49]: uid: (2000/vu2000) gid: (2000/2000) cmd: php5-fcgi-starter
[2008-04-26 11:18:36]: uid: (2000/vu2000) gid: (2000/2000) cmd: php5-fcgi-starter
[2008-04-26 11:30:58]: uid: (2000/vu2000) gid: (2000/2000) cmd: php5-fcgi-starter
[2008-04-26 12:30:47]: uid: (2000/vu2000) gid: (2000/2000) cmd: php5-fcgi-starter
[2008-04-26 12:53:44]: uid: (2000/vu2000) gid: (2000/2000) cmd: php5-fcgi-starter
[2008-04-26 14:53:28]: uid: (2000/vu2000) gid: (2000/2000) cmd: php5-fcgi-starter

That's all there is


RE: 403 Forbidden on php scripts (using mod_fcgi) - hxbro - 04-28-2008 12:35 AM

I've given in on trying to get this working, tried lots of different permissions and settings. I've gone back to running php5 normally.