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



"Nu" <no@xxxxxxxx> wrote:


"John Bokma" <john@xxxxxxxxxxxxxxx> wrote in message
news:Xns986C81369F03Dcastleamber@xxxxxxxxxxxxxx
"Nu" <no@xxxxxxxx> wrote:

Don't top post, if you don't know what top posting means, look it up
in the wikipedia.

I'm on a shared hosting and don't have root access and my host just
said their logs are the only ones they give.

What header(s) do you want to log, and for which request(s)?


I want to log all the headers of each visitor and then store it in a
file somewhere.

Which additional headers are important to you? Since most should be
available in your access_log (referer, user agent, remote addr, request
path, method, status etc.).

I mean, of the additional headers (maybe I missed out a few):

HTTP_ACCEPT
HTTP_ACCEPT_CHARSET
HTTP_ACCEPT_ENCODING
HTTP_ACCEPT_LANGUAGE
HTTP_CONNECTION
HTTP_KEEP_ALIVE
REMOTE_PORT

you really need those? (just curious)

--
John Experienced Perl programmer: http://castleamber.com/

Perl help, tutorials, and examples: http://johnbokma.com/perl/
.



Relevant Pages

  • Re: Nebulous Re: British Chain Of Retail Shops Pulls "Lolita" Bed For Young Girls
    ... :>:clueless about reading or changing headers, ... :that I am ONLY posting from sci.military.naval, ... For the very good reason that it was in answer to a poster from scs. ... This is not the multi-group cross-posting to groups for no good reason that so many on both scs and smn have become embroiled in of late. ...
    (sci.military.naval)
  • Re: Conceal Identity
    ... using Outlook Express 6.0? ... Consider your posting headers: ... Your NNTP provider controls the rest. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Nebulous Re: British Chain Of Retail Shops Pulls "Lolita" Bed For Young Girls
    ... If you call that cross-posting, ... If you leave a group in your headers then you are posting to that group. ... What I have been trying to get across is that, if you do not trim the headers, you may well be reading posts in one group and posting from within that group but your newsreader has you at home in one of the other groups you have in your headers. ...
    (soc.culture.scottish)
  • Re: pattern for this dress?
    ... have been posting a loooooong time! ... headers by someone here and they were shopped to their ISP. ... before I learned that the headers contained information about my ISP. ...
    (alt.sewing)
  • Re: ANOUNCEMENT
    ... net I will now begin posting through various different news servers ... Remember to check the headers ...
    (uk.local.southwest)