Current time: 11-24-2024, 06:09 PM Hello There, Guest! (LoginRegister)


Post Reply 
403 Forbidden on php scripts (using mod_fcgi)
Author Message
hxbro Offline
Junior Member
*

Posts: 34
Joined: Feb 2007
Reputation: 0
Post: #1
403 Forbidden on php scripts (using mod_fcgi)
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!
04-27-2008 12:09 AM
Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #2
RE: 403 Forbidden on php scripts (using mod_fcgi)
you see anything in the suexec.log ?
04-27-2008 01:50 AM
Visit this user's website Find all posts by this user Quote this message in a reply
hxbro Offline
Junior Member
*

Posts: 34
Joined: Feb 2007
Reputation: 0
Post: #3
RE: 403 Forbidden on php scripts (using mod_fcgi)
[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
04-27-2008 05:25 AM
Find all posts by this user Quote this message in a reply
hxbro Offline
Junior Member
*

Posts: 34
Joined: Feb 2007
Reputation: 0
Post: #4
RE: 403 Forbidden on php scripts (using mod_fcgi)
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.
04-28-2008 12:35 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)