Skip to content

Instantly share code, notes, and snippets.

Created Nov 9, 2011
Embed
What would you like to do?
apache status
<VirtualHost *:80>
# vim:syntax=apache
ServerAdmin root@localhost
ServerName localhost
# ServerAlias 127.0.0.1
DocumentRoot /var/www/
<Location /server-status>
SetHandler server-status
</Location>
<Location />
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
Allow from ::1
</Location>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment