]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache-mod_status.conf
- relative symlinks, rpm.org does not like absolute ones
[packages/apache.git] / apache-mod_status.conf
index 8ed57b3ea97081aa2625734eb9bd1350a33bc3a6..6477a232966684203ebd6772a6030b24b6c9a917 100644 (file)
@@ -1,5 +1,4 @@
-# $Id$
-LoadModule status_module        modules/mod_status.so
+LoadModule status_module               modules/mod_status.so
 
 #
 # Get information about the requests being processed by the server
@@ -14,10 +13,15 @@ LoadModule status_module        modules/mod_status.so
 # Change the ".example.com" to match your domain to enable.
 
 <Location /server-status>
-    SetHandler server-status
-    Order deny,allow
-    Deny from all
-    Allow from 127.0.0.1
+       SetHandler server-status
+       # Require host .example.com
+       # Require ip 127
+       Require local
+       <IfModule mod_access_compat.c>
+               Order deny,allow
+               Deny from all
+               Allow from 127.0.0.1
+       </IfModule>
 </Location>
 
 #
@@ -28,4 +32,3 @@ LoadModule status_module        modules/mod_status.so
 #ExtendedStatus On
 
 </IfModule>
-# vim: filetype=apache ts=4 sw=4 et
This page took 0.045562 seconds and 4 git commands to generate.