httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt McCutchen <m...@mattmccutchen.net>
Subject Re: [users@httpd] Re: UserDir + SetHandler cgi-script broken? (Apache 2.0.52)
Date Sat, 24 Jan 2009 15:57:36 GMT
On Sat, 2009-01-24 at 09:17 -0500, Brian Mearns wrote:
> On Fri, Jan 23, 2009 at 6:44 PM, Buck Golemon <buck.golemon@amd.com> wrote:
> > > Thanks for the reply, but if I remove the SetHandler directive above, it
> > displays the file in plaintext just fine. It means both that the UserDir
> > functions ok by itself, and that the <Directory> section above is being applied
> > to my home dir.
> 
> Hm. About the only other thing I can think of is a permissions issue.
> I assumed it would always execute scripts as the same user as apache,
> but maybe for userdirs, it's switching users?

According to the docs, all CGI scripts in userdirs switch users using
suexec:

http://httpd.apache.org/docs/2.0/suexec.html#usage

Suexec is pretty picky about permissions, so check the suexec_log file
for any relevant errors.

-- 
Matt


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message