Re: How do I STOP Apache::CodeRed sending me messages

2001-08-21 Thread Reuven M. Lerner

 Tatsuhiko Miyagawa writes:

  Miyagawa Configuration variables for Apache::CodeRed seem to be
  Miyagawa hardwired in CodeRed.pm itself. Reuven, why not kick out
  Miyagawa these variables as those defined by PerlSetVar in
  Miyagawa http.conf file?

Sorry, but I was away at a family retreat since Sunday morning, and
haven't had a chance to deal with Apache::CodeRed and other such
things.

I'm hoping to tinker a bit with Apache::CodeRed in the next day or so,
including changing the configuration a bit (so that you don't have to
mess with the code directly to set e-mail addresses).  However, the
idea of being able to override the hard-coded settings with PerlSetVar
is an excellent one, and I'll include that...

Reuven



How do I STOP Apache::CodeRed sending me messages

2001-08-19 Thread Robert

I configured Apache::CodeRed to send me messages with each email and so on -

How do I stop it from doikn that? I changed the CodeRed.pm file, but it's
being ignored?

Thanks
Robert




Re: How do I STOP Apache::CodeRed sending me messages

2001-08-19 Thread Remco Schaar

On Sun, 19 Aug 2001, Robert wrote:

Hi,

 I configured Apache::CodeRed to send me messages with each email and so on -
 
 How do I stop it from doikn that? I changed the CodeRed.pm file, but it's
 being ignored?

Have you reloaded the code ? Since it is a module it will not be reloaded
until your apache restarts/reloads, unless you used Apachje::Reload for
this...

Otherwise, use procmail :-)

 Thanks
 Robert

Bye,
Remco




Re: How do I STOP Apache::CodeRed sending me messages

2001-08-19 Thread Tatsuhiko Miyagawa

On Sun, 19 Aug 2001 18:56:37 +1000
Robert [EMAIL PROTECTED] wrote:

 I configured Apache::CodeRed to send me messages with each email and so on -
 
 How do I stop it from doikn that? I changed the CodeRed.pm file, but it's
 being ignored?

Configuration variables for Apache::CodeRed seem to be hardwired
in CodeRed.pm itself. Reuven, why not kick out these variables as
those defined by PerlSetVar in http.conf file? 

For instance, 

  PerlSetVar CodeRedFromAddress [EMAIL PROTECTED]

You can get this variable via 

  my $fromaddr = $r-dir_config('CodeRedFromAddress');


--
Tatsuhiko Miyagawa [EMAIL PROTECTED]