How to disable access logs in apache via htaccess?

I am working on a site, and the client wants users of the non-administrative part of the site to be completely anonymous.

I am not very versed in apache, but is there a way to disable logging through the .htaccess file? (so that it can be portable from the site and does not depend on specific server settings)

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

+6
source share
1 answer

The answer is no. You cannot manage Apache registrations with .htaccess, unfortunately.

+5
source

Source: https://habr.com/ru/post/912505/


All Articles