* [gentoo-user] Apache - prevent local ip from log files
@ 2021-01-02 9:11 thelma
0 siblings, 0 replies; only message in thread
From: thelma @ 2021-01-02 9:11 UTC (permalink / raw
To: Gentoo mailing list
Trying to prevent local local IP from appearing in log files.
I have in modules.d/00_mod_log_config.conf
DeflateFilterNote Input instream
DeflateFilterNote Output outstream
DeflateFilterNote Ratio ratio
LogFormat '"%h %l %u %t \"%r\" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate
SetEnvIf Remote_Addr "127\.0\.0\.1" dontlog
SetEnvIf Remote_Addr "10\.0\.0\.109" dontlog
CustomLog /var/log/apache2/access_log common env=!dontlog
This setting worked in Apache 2.2 but Apache 2.4 is still logging all my localhost IP's.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-01-02 9:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-02 9:11 [gentoo-user] Apache - prevent local ip from log files thelma
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox