Re: Re: UserDir + SetHandler cgi-script broken? (Apache 2.0.52)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux