Practical mod_perl / HTML Book /



previous page: B.16.4. Apache::DumpHeaders—Watch HTTP Transaction via Headers
  
page up: HTML Version of the book
  
next page: B.17.1. Apache::Module—Interface to Apache C Module Structures

B.16.5. Apache::Traffic—Track Hits and Bytes Transferred on a Per-User Basis


This module tracks the total number of hits and bytes transferred per day by the Apache web server, on a per-user basis. This allows for real-time statistics without having to parse the log files.

After installation, add this to your server's httpd.conf file:

PerlLogHandler  Apache::Traffic

and restart the server. The statistics will then be available through the traffic script, which is included in the distribution.

Available from CPAN. See the module manpage for more information.

 

Continue to:

  • prev: B.16.4. Apache::DumpHeaders—Watch HTTP Transaction via Headers
  • Table of Contents
  • next: B.17.1. Apache::Module—Interface to Apache C Module Structures







TOP
previous page: B.16.4. Apache::DumpHeaders—Watch HTTP Transaction via Headers
  
page up: HTML Version of the book
  
next page: B.17.1. Apache::Module—Interface to Apache C Module Structures


Menu

  • HTML Book
  • PDF Book
  • Download Code
  • Table of Contents
  • Errata
  • mod_perl2 User's Guide
  • Sitemap

Search


Add to Google




Creative Commons License


Written by
Eric Cholet (Logilune) and
Stas Bekman (StasoSphere & Free Books).


[ Privacy Policy | Terms of Use | About Us | Search ]

© 2007 StasoSphere.com