Re: Apache suEXEC Question
On Fri, 12 Oct 2001, A.Sleep wrote:
> > Look at your error and suexec logs. Maybe at /var/log/apache/suexec.log or
> > /var/log/apache/cgi.log.
>
> I forgot all about the suexec log... thanks, that's quite helpfull.
>
> > Also, have you changed your suexec document root to cover /home? (By
> > default it covers /var/www.)
>
> Actually no I didn't. AAMOF I didn't think I needed to... I'm running the
> box's domain (simple pages and mrtg output) out of /var/www so I left the
> docroot as it was. Would that make a differance?
Your suexec log will tell you.
It will make a difference if your new CGIs are under /home.
/*
* DOC_ROOT -- Define as the DocumentRoot set for Apache. This
* will be the only hierarchy (aside from UserDirs)
* that can be used for suEXEC behavior.
*/
#ifndef DOC_ROOT
#define DOC_ROOT "/var/www"
#endif
Jeremy C. Reed
...................................................
BSD software, documentation, resources, news...
http://bsd.reedmedia.net/
Reply to: