diff options
-rw-r--r-- | usr.sbin/httpd/conf/httpd.conf | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/usr.sbin/httpd/conf/httpd.conf b/usr.sbin/httpd/conf/httpd.conf index f8c5eb62910..b5d38547d65 100644 --- a/usr.sbin/httpd/conf/httpd.conf +++ b/usr.sbin/httpd/conf/httpd.conf @@ -1,4 +1,4 @@ -# $OpenBSD: httpd.conf,v 1.25 2009/04/01 06:47:34 jmc Exp $ +# $OpenBSD: httpd.conf,v 1.26 2009/06/03 18:28:21 robert Exp $ # # Based upon the NCSA server configuration files originally by Rob McCool. # @@ -850,14 +850,17 @@ BrowserMatch "JDK/1\.0" force-response-1.0 # # Allow server status reports, with the URL of http://servername/server-status -# Change the ".your_domain.com" to match your domain to enable. +# Change the ".your_domain.com" to match your domain to enable. By default we +# allow server-status requests from 127.0.0.1 to make apachectl's status and +# fullstatus commands work. # -#<Location /server-status> -# SetHandler server-status -# Order deny,allow -# Deny from all -# Allow from .your_domain.com -#</Location> +<Location /server-status> + SetHandler server-status + Order deny,allow + Deny from all + Allow from 127.0.0.1 +# Allow from .your_domain.com +</Location> # # Allow remote server configuration reports, with the URL of |