Re: How do I do full access logging including HTTP headers?
- From: "Nu" <no@xxxxxxxx>
- Date: Mon, 30 Oct 2006 09:19:52 GMT
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.
"John Bokma" <john@xxxxxxxxxxxxxxx> wrote in message
news:Xns986BD1CE11315castleamber@xxxxxxxxxxxxxx
"Jürgen Exner" <jurgenex@xxxxxxxxxxx> wrote:
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.
I websearched for hours and came up with nothing.
Doesn't surprise me that you didn't find anything.
Logging can only be done by the tool, that is performing the action.
In this case the web server is performing the action (= responding to
HTTP requests), therefore the web server must log its own action.
There is no way for an external tool to guess what the web server is
or isn't doing.
I know what you try to say, but it's not true how you wrote it. A simple
proxy that listens on port 80, and having your webserver on 8080 can do
that logging. It's an external tool ;-)
Also there are plenty of ways to plug in an external tool into Apache and
log anything you want.
The easiest is probably to extend the log format to include the headers
the OP wants.
--
John Experienced Perl programmer: http://castleamber.com/
Perl help, tutorials, and examples: http://johnbokma.com/perl/
.
- Follow-Ups:
- Re: How do I do full access logging including HTTP headers?
- From: John Bokma
- Re: How do I do full access logging including HTTP headers?
- References:
- How do I do full access logging including HTTP headers?
- From: Nu
- Re: How do I do full access logging including HTTP headers?
- From: Jürgen Exner
- Re: How do I do full access logging including HTTP headers?
- From: John Bokma
- How do I do full access logging including HTTP headers?
- Prev by Date: Re: FAQ 2.2 How can I get a binary version of perl?
- Next by Date: Re: Looking for a lightweight GUI editor on Windows
- Previous by thread: Re: How do I do full access logging including HTTP headers?
- Next by thread: Re: How do I do full access logging including HTTP headers?
- Index(es):
Relevant Pages
|
|