You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sl...@apache.org on 2005/04/02 21:01:14 UTC

svn commit: r159793 - in httpd/httpd/branches/simple-conf/docs/conf: extra/httpd-info.conf httpd-std.conf.in

Author: slive
Date: Sat Apr  2 11:01:14 2005
New Revision: 159793

URL: http://svn.apache.org/viewcvs?view=rev&rev=159793
Log:
Move mod_info and mod_status examples to extra/.
(I also removed the <IfModule> sections and uncommented
them.  If you include the config file, it should be 
obvious what you need.)

Added:
    httpd/httpd/branches/simple-conf/docs/conf/extra/httpd-info.conf
Modified:
    httpd/httpd/branches/simple-conf/docs/conf/httpd-std.conf.in

Added: httpd/httpd/branches/simple-conf/docs/conf/extra/httpd-info.conf
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/simple-conf/docs/conf/extra/httpd-info.conf?view=auto&rev=159793
==============================================================================
--- httpd/httpd/branches/simple-conf/docs/conf/extra/httpd-info.conf (added)
+++ httpd/httpd/branches/simple-conf/docs/conf/extra/httpd-info.conf Sat Apr  2 11:01:14 2005
@@ -0,0 +1,31 @@
+#
+# 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 .example.com
+</Location>
+
+
+#
+# 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.
+#
+<Location /server-info>
+    SetHandler server-info
+    Order deny,allow
+    Deny from all
+    Allow from .example.com
+</Location>

Modified: httpd/httpd/branches/simple-conf/docs/conf/httpd-std.conf.in
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/simple-conf/docs/conf/httpd-std.conf.in?view=diff&r1=159792&r2=159793
==============================================================================
--- httpd/httpd/branches/simple-conf/docs/conf/httpd-std.conf.in (original)
+++ httpd/httpd/branches/simple-conf/docs/conf/httpd-std.conf.in Sat Apr  2 11:01:14 2005
@@ -702,34 +702,6 @@
     BrowserMatch "^XML Spy" redirect-carefully
 </IfModule>
 
-<IfModule status_module>
-    #
-    # 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 .example.com
-    #</Location>
-</IfModule>
-
-<IfModule info_module>
-    #
-    # 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.
-    #
-    #<Location /server-info>
-    #    SetHandler server-info
-    #    Order deny,allow
-    #    Deny from all
-    #    Allow from .example.com
-    #</Location>
-</IfModule>
-
 
 ### Section 3: Virtual Hosts
 #
@@ -783,6 +755,9 @@
 
 # User home directories
 # Include @relsysconfdir@/extra/httpd-userdir.conf
+
+# Real-time info on requests and configuration
+# Include @relsysconfdir@/extra/httpd-info.conf
 
 #
 # Secure (SSL/TLS) connections