Created
June 11, 2018 20:47
-
-
Save dubcl/c72754de7a8810bd97c87f38c02642fb to your computer and use it in GitHub Desktop.
Apache don't log
This file contains hidden or 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
| <VirtualHost *:80> | |
| ServerName www.mywebsite.com | |
| DocumentRoot /home/www/mywebsite | |
| ... | |
| SetEnvIf Request_URI "(.*)foo(.*)" dontlog | |
| CustomLog ${APACHE_LOG_DIR}/other_vhosts_access.log vhost_combined env=!dontlog | |
| </VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment