Re: Cannot get CGIs working and issue with multilog

Felix von Leitner <[email protected]> Wed, 18 Feb 2004 19:36:52 +0100
Newsgroups gmane.comp.web.fnord
Message-ID <[email protected]>
Thus spake Dale Gallagher ([email protected]):
> multilog error is:

>     multilog: fatal: unable to switch to current \
>         directory: access denied

This is pretty straightforward.  The log directory you creates has the
wrong permissions.  It's probably owned by root, not by the user you run
multilog as.

> Also, CGIs return 404 when run - I uncommented
> #define CGI in httpd.c before compiling.

This looks like fnord looks somewhere else than you for the CGI.

You can debug this by not running "fnord" but "strace -eopen,chdir
fnord" from tcpserver.  This will show you where fnord chdirs and looks
for the CGI.  Do this only for debugging, however, strace has a huge
performance impact.

Felix