httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Buck Golemon <buck.gole...@amd.com>
Subject [users@httpd] Re: UserDir + SetHandler cgi-script broken? (Apache 2.0.52)
Date Sat, 24 Jan 2009 22:30:20 GMT
Matt McCutchen <matt <at> mattmccutchen.net> writes:

> 
> 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 <at> 
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.
> 

Thanks! This could well be the issue. I saw all the caveats about suexec, 
but skimmed it because I thought I wasn't using it. I'll check it when I
get back to work.
--Buck



---------------------------------------------------------------------
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