Skip to content

Instantly share code, notes, and snippets.

@karthiks
Created September 13, 2021 12:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save karthiks/fdf6dfb5b14af114dba7e4e3283cc9c2 to your computer and use it in GitHub Desktop.
Save karthiks/fdf6dfb5b14af114dba7e4e3283cc9c2 to your computer and use it in GitHub Desktop.
/etc/apache2/apache2.conf file
SetEnvIf Remote_Addr "::1" loopback
SetEnvIf Remote_Addr "127\.0\.0\.1" loopback
CustomLog /var/log/apache2/access.log combined env=!loopback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment