summaryrefslogtreecommitdiff
path: root/2.2/conf
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2007-11-25 19:55:45 +0000
committerBenedikt Boehm <hollow@gentoo.org>2007-11-25 19:55:45 +0000
commitdb057f5c66bde89fdeeae1b686f93fd7f00e1934 (patch)
tree7ecd0c58e864b807514e2513a719fed9e0148cba /2.2/conf
parentfix bug in SNI patch (diff)
downloadapache-db057f5c66bde89fdeeae1b686f93fd7f00e1934.tar.gz
apache-db057f5c66bde89fdeeae1b686f93fd7f00e1934.tar.bz2
apache-db057f5c66bde89fdeeae1b686f93fd7f00e1934.zip
split INFO and STATUS; bug #197032
Diffstat (limited to '2.2/conf')
-rw-r--r--2.2/conf/modules.d/00_mod_info.conf26
-rw-r--r--2.2/conf/modules.d/00_mod_status.conf19
2 files changed, 20 insertions, 25 deletions
diff --git a/2.2/conf/modules.d/00_mod_info.conf b/2.2/conf/modules.d/00_mod_info.conf
index 2b7ba4e..53fd7ae 100644
--- a/2.2/conf/modules.d/00_mod_info.conf
+++ b/2.2/conf/modules.d/00_mod_info.conf
@@ -1,30 +1,7 @@
<IfDefine INFO>
<IfModule info_module>
-<IfModule status_module>
-# Get information about the requests being processed by the server
-# and the configuration of the server.
-
-# Required modules: mod_status (for the server-status handler),
-# mod_info (for the server-info handler)
-
-# Allow server status reports generated by mod_status,
-# with the URL of http://servername/server-status
-# 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
-</Location>
-
-# ExtendedStatus controls whether Apache will generate "full" status
-# information (ExtendedStatus On) or just basic information (ExtendedStatus
-# Off) when the "server-status" handler is called. The default is Off.
-ExtendedStatus On
-
# Allow remote server configuration reports, with the URL of
-# http://servername/server-info (requires that mod_info.c be loaded).
-# Change the ".example.com" to match your domain to enable.
+# http://servername/server-info
<Location /server-info>
SetHandler server-info
Order deny,allow
@@ -32,7 +9,6 @@ ExtendedStatus On
Allow from 127.0.0.1
</Location>
</IfModule>
-</IfModule>
</IfDefine>
# vim: ts=4 filetype=apache
diff --git a/2.2/conf/modules.d/00_mod_status.conf b/2.2/conf/modules.d/00_mod_status.conf
new file mode 100644
index 0000000..fa90676
--- /dev/null
+++ b/2.2/conf/modules.d/00_mod_status.conf
@@ -0,0 +1,19 @@
+<IfDefine STATUS>
+<IfModule status_module>
+# Allow server status reports generated by mod_status,
+# with the URL of http://servername/server-status
+<Location /server-status>
+ SetHandler server-status
+ Order deny,allow
+ Deny from all
+ Allow from 127.0.0.1
+</Location>
+
+# ExtendedStatus controls whether Apache will generate "full" status
+# information (ExtendedStatus On) or just basic information (ExtendedStatus
+# Off) when the "server-status" handler is called.
+ExtendedStatus On
+</IfModule>
+</IfDefine>
+
+# vim: ts=4 filetype=apache