waf EID wrote:
Can you be a bit more specific ? What kind of cgi-bin scripts/programs are you running ? can they be easily modified ? are you using perl/mod_perl ?Hi, I have an httpd server running CGI ..
which use cookies to identify users.
The problem is that I would like to log the username in httpd logs.
The idea is, presumably your cgi-bin scripts "get" this user-id in order to work, yes ? Then the cgi-bin script itself could log this user-id, without needing to add a header to the HTTP request/response. Basically anything you print to STDERR in a cgi-bin, will end up in the Apache error log.
You can also decide to log this in a separate logfile. --------------------------------------------------------------------- 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