Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Send User To Oblivion!

by Moron (Curate)
on Mar 20, 2007 at 14:56 UTC ( [id://605688]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://605688]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-03-29 09:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found