[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    Re: Modperl script doesn't increment access log
From:       "G.W. Haywood" <ged () jubileegroup ! co ! uk>
Date:       1999-11-30 23:24:33
[Download RAW message or body]

Hi there,

On Tue, 30 Nov 1999, Jim Goodwin wrote:

> Because of the nature of mod perl, we only get one 'hit' in the
> Stronghold access logs when the .pl scripts are run. 

Yup, that's right, unless the script doesn't exist, in which case my
acces_log looks like this for example:

[30/Nov/1999:15:31:53 +0000] "GET /cgi-bin/JOSvisitlog.pl HTTP/1.0" 404 225

or unless the request is POST in which case I get for example

[30/Nov/1999:18:59:23 +0000] "POST /cgi-bin/JOSplaceorder.pl HTTP/1.0" 200 2629

It says in the Eagle book (page 360) that there are a number of log 
handlers on CPAN including Apache::DBILogger and Apache::Traffic.

It says also (page 364) that you should look at Apache::DBILog and
Apache::DBILogConfig ``before rolling your own''.

Any use?

Kind regards,
Ged Haywood.

PS: I sell the Eagle Book.  And all the others.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic