Damon
Damon

Reputation: 10809

How to disable access logs in apache via htaccess?

I am working on a site and the client wishes users of the non-admin part of the site to be completely anonymous.

I don't know very much about apache, but is there some way to disable logging via the .htaccess file? (so that it can be portable with the site and not reliant on specific server settings)

I've found instructions for the httpd.conf, but I don't know how to replicate commenting out lines in a .htaccess file

Upvotes: 10

Views: 4341

Answers (1)

anubhava
anubhava

Reputation: 785128

Answer is big NO. You cannot control Apache logging from .htaccess unfortunately.

Upvotes: 10

Related Questions