httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Artem Kuchin" <mat...@itlegion.ru>
Subject [users@httpd] Regarding mod_cgid logging problem
Date Thu, 18 Oct 2007 17:07:35 GMT
I have wrote a letter to several  apache core developrs but
they all just ignored it or they too busy to answer.

So, the problem is simple:
when an application (script, program) is run under mod_cgid
and it as usually prints all errors to stderr all this output
ends up in main server error log but not in the appropriate
virtual host error log. Also, error log is not formatted properly,
but is not much of an importance.

This bug (or feature, or deficiency) is very persistant and is
known since around 2002. I have installed 2.2.6 lately and see no
changes in the situation. Reading through module code did not give
me a clue what developers think about it. Bug report is marked closed
with LATER.

Such behavior of the module does not allow debugging
of cgi scripts, which renders this module very uncomfortable
and pretty much usless (switching back and forth between mod_cgi
and mod_cgid just to debug is too much hussle).

I have tried to undestand the module in order to try fixing it,
but my current knowldge of apache internals is puny. I didn't get
any clue.

So, my qustions are:

1) What prevents mod_cgid from logging correctly?

2) Can it be fixed at all before apache 3.0 is released in 20xx?

3) When fix can be expected?

4) Is there some kind of workaround? (like writing stderr into
a separate file defined in virtual host config, so at least it can
be placed in the appropriate directory and will contain stderr
messages only from scripts of this virtual host). Is vhost config accessible
for mod_cgid for this?

Thank you all

--
Regards,
Artem



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