Apache Server configuration support - using SetEnvIf to remove certain requests, not working though

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > February 2006 > using SetEnvIf to remove certain requests, not working though





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author using SetEnvIf to remove certain requests, not working though
ponga

2006-02-13, 8:54 pm

Hello, I have this in my httpd.conf: (using Apache 1.3.33)

SetEnvIf Request_URI "/other/chat/clients/shared/browser/.*" dontlog
CustomLog /var/log/apache/access.log "common" env=!dontlog

This regexp works with grep, but for some reason Apache is still
logging this stuff, even after restarting the server (fyi, there are no
other CustomLog directives contradicting this one).
Any clues one can provide me as to why this is not working??

TIA,
Jason

ponga

2006-02-13, 8:54 pm

NEVERMIND. Sorry guys, I did have another CustomLog directive that was
overriding this.
Everything is working great now!
-Jason

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com