httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodent of Unusual Size <Ken.C...@Golux.Com>
Subject Re: apache config
Date Mon, 11 Feb 2002 15:13:41 GMT
"Sabherwal, Balvinder (MBS)" wrote:
> Is there a way to configure apache so that it doesn't records
> the access info into the logs if the request is made on the
> local host on which apache is running??

You should be able to do this with conditional logging.  Assuming
that your server's IP address is, something like this
should work:

SetEnvIf REMOTE_ADDR "^1\.2\.3\.4$" request_is_local=1
CustomLog logs/access_log combined env=!request_is_local

#ken	P-)}

Ken Coar, Sanagendamgagwedweinini  http://Golux.Com/coar/
Author, developer, opinionist      http://Apache-Server.Com/

"Millennium hand and shrimp!"

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