Re: How do I do full access logging including HTTP headers?



Nu wrote:
My webhost has sucky logging. So I'm looking for a perl or PHP script that
can do full logging of all the HTTP headers for each hit.

Brian has shown how to look at the headers which the web server
choses to put into the %ENV hash. If there are headers that you
are interested in but the web server throws them away by the
time your script is run, then you are out of luck. You _have_
to change the web server behavior to get at that data. For shared
web hosting, that usually means switching to a different webhost.
-Joe
.



Relevant Pages

  • Re: AVG7 update 23/11/2005 (267.13.6/179)
    ... >> here but ta muchly kind sir. ... the HTTP Headers of the File, so you could know when it was made ... You can use that .VBS Script to check the Headers of *any* File, ... from any Web Server, not just the AdAware Ref Update thing that ...
    (uk.people.silversurfers)
  • Re: How do I do full access logging including HTTP headers?
    ... script that can do full logging of all the HTTP headers for each hit. ... Logging can only be done by the tool, that is performing the action. ... therefore the web server must log its own action. ...
    (comp.lang.perl.misc)