Created
May 7, 2009 19:24
-
-
Save neoeinstein/108294 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## These directives are to help preserve anonymity while allowing for aggregation of data | |
## Only use this if you are proactively shredding log files | |
## If doing running statistical analysis that depends on timestamps | |
#LogFormat "%{Service}e:%p %l %{GEOIP_COUNTRY_NAME}e %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" anonymous | |
## For general use | |
LogFormat "%{Service}e:%p %l %{GEOIP_COUNTRY_NAME}e %{[%d/%b/%Y:%H:00:00 %z]}t \"%r\" %>s %B \"%{Referer}i\" \"%{User-Agent}i\"" anonymous | |
SetEnv Service Normal | |
SetEnvIfNoCase Host ".onion$" Service=Hidden GEOIP_COUNTRY_CODE=HS GEOIP_COUNTRY_NAME=Hidden | |
## This requires SetEnvIfDNSBL: http://nesitive.net/nesitive/all/ab72d08f06989ea4e204403c6348424c.html | |
## See also https://www.torproject.org/tordnsel/index.html | |
<IfModule setenvdnsbl_module> | |
SetEnvIfDNSBL REMOTE_ADDR PORT.ADDR.IP.HOST.YOUR.ip-port.exitlist.torproject.org Service=TorExit GEOIP_COUNTRY_CODE=ON GEOIP_COUNTRY_NAME=Tor | |
</IfModule> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment