Apache ignore my .htaccess 'dontlog' option

Posted by Emilio on Server Fault See other posts from Server Fault or by Emilio
Published on 2010-03-07T19:07:22Z Indexed on 2010/05/28 12:22 UTC
Read the original article Hit count: 281

Filed under:
|
|
|

I wrote .htaccess in file dir/subdir to don't log URI requests in this particular directory. The .htaccess is actually executed by apache (if i write deny from , it works), but if the file contains only this rule:

   SetEnvIf Request_URI "^dir/subdir" dontlog

Don't work. AllowOverride All and mod_rewrite are enabled. What can be the problem?

Sorry for my bad english.

© Server Fault or respective owner

Related posts about apache

Related posts about php