thorsten9> does anyone know how Apache can be configured
thorsten9> so that every HTTP request + answer is recorded into a trace file
thorsten9> - not only the events (like in access_log), but the whole
thorsten9> content, including HTTP headers + data ?
Apache can't be configured like that out of the box (that I know of
:). You could write a mod_perl PerlLogHandler or a custom
mod_whatever to grab all the incoming and outgoing headers, but not
the response content, because that's lost forever down the pipe.
(Although I understand Apache 2.0 will allow disciplines to be pushed
onto "stdout" by other modules... which will be cool.)
Another way you might try if you don't need high performance, but are simply
debugging, is to set up my "proxy server" at
http://www.stonehenge.com/merlyn/WebTechniques/col11.html
and then uncommenting all the debugging options in the last few lines
of the program, which will give you a detailed dump of all headers and
full responses (including content).
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!