Hi -

In: http://perl.apache.org/docs/2.0/user/handlers/http.html#PerlLogHandler,
the PerlLogHandler documentation, the configuration file sample setup is
given as:

<Location /users/>
      SetHandler perl-script
      PerlResponseHandler ModPerl::Registry
      PerlLogHandler MyApache::LogPerUser
      Options +ExecCGI
</Location>

Now I wrote a simple log handler and had no end of problems (will detail
upon request) with this configuration. Since I want to intercept
_every_ access to my server, I ended up with:

<Location />
      PerlLogHandler MyApache::Logger
</Location>

and then shortened it to:

PerlLogHandler MyApache::Logger

where MyApache::Logger is the name of my logging perl script. I works
perfectly.

Do you really need all the other 'stuff'? Since this is a log handler
why would you need the ResponseHandler, etc.?

As you have gathered, this is my very first mod_perl handler :)

Aloha => Beau.

PS: Hey Mr. 100%, mod_perl 2.0 rocks!

Reply via email to