in reply to Send User To Oblivion!

You can also configure conditional logging using the mod_log_config (Apache) module. I would imagine that any Perl module doing the job has to address that eventually.

-M

Free your mind

Replies are listed 'Best First'.
Re^2: Send User To Oblivion!
by carfac (Acolyte) on Mar 20, 2007 at 16:07 UTC
    Thanks for the help so far- I have been thinking a few different ways to proceed.

    OK, the SetEnv looks like a good solution. Not quite sure how to set that in the mod_perl script...

    Is it as simple as:

    env="spammer"

    or more like:

    $r->headers_out->{"env"} = "spammer";

    (Sorry, I told you I was a novice!)

    Dave
      SetEnv (syntax: SetEnv env-variable value) is a configuration directive to be placed in httpd.config

      I think you need to study the Apache documentation some more before deciding how to tackle it from Perl.

      -M

      Free your mind