Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
added 47 characters in body; edited title
Source Link
Emilio
  • 55
  • 1
  • 13

Error with Apache ignore my .htaccess 'dontlog' option

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

 SetEnvIf Request_URI "^dir/subdir" dontlog 

But apache log the uri requestsDon't work. AllowOverride All and mod_rewrite are enabled in apache configuration file. What can be the problem?

Sorry for my bad english.

Error with .htaccess 'dontlog' option

I wrote .htaccess in file dir/subdir to don't log URI request in this particular directory. The file has only this rule:

 SetEnvIf Request_URI "^dir/subdir" dontlog 

But apache log the uri requests. AllowOverride All and mod_rewrite are enabled in apache configuration file. What can be the problem?

Sorry for my bad english.

Apache ignore my .htaccess 'dontlog' option

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.

Source Link
Emilio
  • 55
  • 1
  • 13

Error with .htaccess 'dontlog' option

I wrote .htaccess in file dir/subdir to don't log URI request in this particular directory. The file has only this rule:

 SetEnvIf Request_URI "^dir/subdir" dontlog 

But apache log the uri requests. AllowOverride All and mod_rewrite are enabled in apache configuration file. What can be the problem?

Sorry for my bad english.