Commit 31d1759e authored by Joshua Slive's avatar Joshua Slive
Browse files

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.)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/simple-conf@159793 13f79535-47bb-0310-9956-ffa450edef68
parent 8e7256a6
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
#
# 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>
+3 −28
Original line number Diff line number Diff line
@@ -702,34 +702,6 @@ ServerSignature On
    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
#
@@ -784,6 +756,9 @@ ServerSignature On
# 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
# Include @rel_sysconfdir@/extra/httpd-ssl.conf