You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by ld...@ulysium.net on 2003/05/17 18:44:06 UTC
[users@httpd] no cgi error logging in apache2.0
Hello all,
I can't get any errors from cgi to log anywhere with apache 2.0.45
I even tried to define the ScriptLog path to the log as fully qualified from
the root without passing through symlinks.
The info page from the server-info shows the cgi logs being defined, and I
made sure those log files have write perm to the httpd user. I tried to turn
on write on the logs folder for the httpd user as well, just in case it was
a permission issue, but still nothing.
None of the cgi errors are logged anywhere, not in the main site or any
other virtual sites. Other logging is working, although sometimes suexec is
a bit skimpy on logging.
I put LogLevel to debug but that has no impact.
I just realized one thing though, I have both mod_cgi.c and mod_cgid.c, with
mod_cgi.c as a static module and mod_cgid.c is shared. Would that have any
effect on cgi logging?
The cgi scripts do run fine, under suexec, so it seems having both cgi
modules doesn't prevent them from running. Is there any issues I should be
aware of about this?
I will eventually re-compile apache without the mod_cgi.c since I use the
threaded mpm worker and I'll try having mod_cgid.c as static instead of
shared to replace mod_cgi.c.
What else can I try to make this logging work? does it have any chance to
work with both cgi modules there?
--
Didier Godefroy
mailto:dg@ulysium.net
---------------------------------------------------------------------
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
Re: [users@httpd] no cgi error logging in apache2.0
Posted by ld...@ulysium.net.
Hello again,
After I posted my question(s) early on about the cgi logging issue with
apache 2.0, I ended up going for a re-compile with slight changes.
I did find out something and found an other problem. I hope it helps others
who made the same mistake I did during compile, which is to enable both
mod_cgi and mod_cgid at the same time. Although cgi works with both modules
loaded, the logging doesn't. It even works fine under suexec.
What I did was to remove mod_cgi and keep mod_cgid as a static module and
recompiled.
This fixed the logging issue, but caused something else:
The cgi daemon isn't starting, or if it is, it must be for a very short
time, because I'm not seeing it run and scripts no longer work because of
the lack of the cgi daemon.
I do have the ScriptSock set and the socket is created, but no cgi daemon to
use it and run scripts.
What can I do to troubleshoot this??
(platform is tru64 5.1b, apache 2.0.45 with mpm worker and suexec)
--
Didier Godefroy
mailto:dg@ulysium.net
---------------------------------------------------------------------
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