Current time: 11-17-2024, 10:32 AM Hello There, Guest! (LoginRegister)


Post Reply 
403 Forbidden when trying to get suexec+mod_fcgid working
Author Message
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #1
403 Forbidden when trying to get suexec+mod_fcgid working
Hey guys,

Just for reference, i'm running:
-Gentoo 2007.0
-Apache 2.2..6
-mod_fcgid-1.10


I'm trying to get all the gentoo configs cleaned up so the install works out of the box and i'm currently hung up on fcgid+suexec issues.

When set the FCGIWrapper to /var/www/fcgi/master/php5-fcgi-starter and enable suexec i get the following error in my suexec_log:

{{{[2007-11-11 17:08:15]: uid: (2000/vu2000) gid: (2000/2000) cmd: php5-fcgi-starter
[2007-11-11 17:08:15]: target uid/gid (2000/2000) mismatch with directory (0/0) or program (2000/2000)}}}


{{{~ # ls -la /var/www/fcgi/master/
total 8
drwxr-xr-x 4 root root 176 Nov 11 21:07 .
drwxr-xr-x 3 root root 72 Nov 11 16:06 ..
drwxr-xr-x 2 root root 72 Nov 11 16:06 php4
-rwxr-xr-x 1 vu2000 vu2000 203 Nov 11 21:30 php4-fcgi-starter
drwxr-xr-x 2 root root 72 Nov 11 16:06 php5
-rwxr-xr-x 1 vu2000 vu2000 203 Nov 11 21:30 php5-fcgi-starter
}}}

{{{~ # ls -la /var/www/ispcp/gui/
total 34
dr-xr-xr-x 12 vu2000 apache 504 Nov 11 16:56 .
drwxr-xr-x 7 vu2000 vu2000 168 Nov 11 16:06 ..
dr-xr-xr-x 3 vu2000 apache 1872 Nov 11 15:57 admin
dr-xr-xr-x 3 vu2000 apache 2232 Nov 11 15:57 client
dr-xr-xr-x 4 vu2000 apache 128 Nov 11 15:57 domain_default_page
dr-xr-xr-x 4 vu2000 apache 248 Nov 11 15:57 errordocs
-r--r--r-- 1 vu2000 apache 1886 Nov 11 21:19 favicon.ico
-r--r--r-- 1 vu2000 apache 1016 Nov 11 21:20 imagecode.php
dr-xr-xr-x 5 vu2000 apache 976 Nov 11 15:57 include
-r--r--r-- 1 vu2000 apache 3004 Nov 11 21:20 index.php
-r--r--r-- 1 vu2000 apache 4508 Nov 11 21:20 lostpassword.php
dr-xr-xr-x 3 vu2000 apache 264 Nov 11 15:57 orderpanel
drwxr-xr-x 3 vu2000 apache 152 Nov 11 16:52 phptmp
dr-xr-xr-x 3 vu2000 apache 1568 Nov 11 15:57 reseller
-r--r--r-- 1 vu2000 apache 43 Nov 11 21:20 robots.txt
-r--r--r-- 1 vu2000 apache 20 Nov 11 16:56 test.php
dr-xr-xr-x 5 vu2000 apache 136 Nov 11 15:57 themes
dr-xr-xr-x 6 vu2000 apache 184 Nov 11 15:57 tools
}}}


Anyone have any ideas on what the issue is here? I would like to get this fixed, so I can run through and verify the other changes I've made and check in my updated configs.

Thanks,
Jesse
11-14-2007 04:08 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
403 Forbidden when trying to get suexec+mod_fcgid working - pgentoo - 11-14-2007 04:08 PM

Forum Jump:


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