Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 595
Damon Avatar asked Apr 05 '12 15:04

Damon


1 Answers

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

like image 140
anubhava Avatar answered Oct 27 '22 20:10

anubhava