apache status
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
| <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