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


Posts: 24
Group: Registered
Joined: Feb 2007
Status: Offline
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
Administrator
*******
Administrators

Posts: 658
Group: Administrators
Joined: Oct 2006
Status: Offline
Reputation: 12
Post: #2
RE: 403 Forbidden on php scripts (using mod_fcgi)

you see anything in the suexec.log ?


---

ConSol* ist Deutschlands bester Arbeitgeber 2008,2007.In 2006 in der Kategorie Mittelständische Unternehmen.
2nd Best Workplace in Europe 2008

There's a place where all the guru's sit Wink Come and join us - visit http://www.consol.de/jobs
04-27-2008 01:50 AM
Visit this user's website Find all posts by this user Quote this message in a reply
hxbro
Junior Member
*


Posts: 24
Group: Registered
Joined: Feb 2007
Status: Offline
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
Junior Member
*


Posts: 24
Group: Registered
Joined: Feb 2007
Status: Offline
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  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump:

| All rights reserved : isp-control.net |