On 7/20/05, dAniel hAhler <apache-users@xxxxxxxxxx> wrote: > Joshua Slive wrote: > > > > I've installed mod_chroot for Apache (2.0.53-Ubuntu), but have now problems > > > with suexec complaining: > > > > > > [2005-07-20 06:28:13]: uid: (1003/xxxxx) gid: (1003/1003) cmd: > > > php4-fcgi-starter > > > [2005-07-20 06:28:13]: command not in docroot > > > (/fcgi-scripts/web2/php4-fcgi-starter) > > > > > > php4-fcgi-starter is a script that should start php-fcgi (I'm using > > > mod_fastcgi). > > > > As far as I know, you can't use suexec with fastcgi. suexec counts on > > forking each cgi script separately, while fastcgi is designed to do > > the opposite. > > I had no problems before using suexec and fastcgi. > > The problem started when I used mod_chroot. You are right; fastcgi itself can be wrapped in suexec. I didn't realize that. Your problem is probably that getcwd is returning the full (non-chrooted) path to AP_DOC_ROOT inside the jail. I don't know how to get around that. Joshua. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx