Re: Custom Logging and User Tracking

2002-02-14 Thread masta
On Wed, 13 Feb 2002, Ryan Parr wrote: > I checked it out and it's a good mod. I've already got the ability to log > the data however. The issue that I'm having is that I can't seem to only get > 1 log per hit. I can't seem to get around the fact that wherever I put my > mod (PerlFixupHandler,Pe

Re: Custom Logging and User Tracking

2002-02-14 Thread Per Einar Ellefsen
At 15:22 13.02.2002 -0800, Ryan Parr wrote: >Nothing special to the way these sites work. You can check out >http://www.rileyjames.com and http://www.ryanparr.com (the programming on >the latter will leave you in awe :) I want to host my sites and have a >decent usage statistics location, but I ju

Re: Custom Logging and User Tracking

2002-02-13 Thread Ryan Parr
I know that I have to be missing something pretty basic, I'm new to programming in mod_perl. -- Ryan - Original Message - From: "Andrew Moore" <[EMAIL PROTECTED]> To: "Ryan Parr" <[EMAIL PROTECTED]> Cc: "mod_perl list" <[EMAIL PROTECTED]&

Re: Custom Logging and User Tracking

2002-02-13 Thread Ryan Parr
ginal Message - From: "Dave Rolsky" <[EMAIL PROTECTED]> To: "Ryan Parr" <[EMAIL PROTECTED]> Cc: "mod_perl list" <[EMAIL PROTECTED]> Sent: Wednesday, February 13, 2002 4:23 PM Subject: Re: Custom Logging and User Tracking > On Wed, 13 Feb 2002,

Re: Custom Logging and User Tracking

2002-02-13 Thread Dave Rolsky
On Wed, 13 Feb 2002, Ryan Parr wrote: > The code follows: > sub handler { > my $r = shift; > return DECLINED unless($r->is_main()); > # Same behavior when: > # return DECLINED unless($r->is_initial_req()); > > open TRACK, ">>/usr/local/www/usertracker.txt"

Re: Custom Logging and User Tracking

2002-02-13 Thread Ryan Parr
t;; print TRACK join("\t",($r->hostname,$r->uri,scalar(localtime))),"\n"; close TRACK; return DECLINED; } -- Ryan - Original Message - From: "Ask Bjoern Hansen" <[EMAIL PROTECTED]> To: "Ryan Parr" <[EMAIL PROT

Re: Custom Logging and User Tracking

2002-02-13 Thread Ask Bjoern Hansen
On Wed, 13 Feb 2002, Ryan Parr wrote: > Unfortunately we do have areas on the site where a link would point directly > to a graphic file, which I'd like to log. Otherwise that would work quite > well. > > I had always thought that these extra requests would be subrequests. If not, > though, what

Re: Custom Logging and User Tracking

2002-02-13 Thread Ryan Parr
quest? -- Ryan - Original Message - From: "Ask Bjoern Hansen" <[EMAIL PROTECTED]> To: "Ryan Parr" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, February 13, 2002 12:02 PM Subject: Re: Custom Logging and User Tracking > On Wed, 13 Feb 2002, R

Re: Custom Logging and User Tracking

2002-02-13 Thread Ask Bjoern Hansen
On Wed, 13 Feb 2002, Ryan Parr wrote: > I'm trying to setup some custom logging including the whole > User/Session tracking thing. The problem that I'm encountering is > how to log for the page that was requested and ignore all the > additional files that may be included in the page. I.e. graphic