httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Reppucci <>
Subject Re: Conditional logging
Date Fri, 15 Mar 2002 11:56:36 GMT

Two problems I see right off the bat:

$IP_ADRESS -- Is this misspelled? Should be $IP_ADDRESS?

Bigger issue: AFAIK, there isn't any capablity for
shell-like variable interpolation in the apache config
file.  Not sure where you're setting up $IP_ADRESS [sic],
but I don't believe there's any built in capabilities
for this to get expanded into whatever value you've set.

(Though, I've often wished for something like that...closest
I can think of are <Perl> sections for a mod_perl enabled


On Fri, 15 Mar 2002, Julien OIX wrote:

> hi everyone,
> here's a part of my httpd.conf
> SetEnvIf Request_URI \.gif dont_log
> SetEnvIf Request_URI \.jpg dont_log
> SetEnvIf Request_URI \.JPG dont_log
> SetEnvIf Remote_Addr $IP_ADRESS dont-log
> ErrorLog logs/glob_error_log
> CustomLog logs/glob_access_log common env=!dont_log
> request for images don't log, it works fine
> but for not logging request from a specific IP, it doesn't filter.
> any ideas ?
> thansk in advance

Steve Reppucci                              |
Logical Choice Software                 |
=-=-=-=-=-=-=-=-=-=-  My God!  What have I done?  -=-=-=-=-=-=-=-=-=-=

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message