From: Rich Bowen
Date: Sun, 30 Jan 2005 01:53:14 +0000 (+0000)
Subject: As pointed out in bug 33290, we really don't want a directive
X-Git-Tag: 2.0.53~56
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce26ead61ab5073140eaed90a5cbb44094701c28;p=thirdparty%2Fapache%2Fhttpd.git
As pointed out in bug 33290, we really don't want a directive
here at all.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@149091 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/mod/mod_info.html.en b/docs/manual/mod/mod_info.html.en
index f570105ebf1..120c3ad6367 100644
--- a/docs/manual/mod/mod_info.html.en
+++ b/docs/manual/mod/mod_info.html.en
@@ -43,12 +43,21 @@ configuration
</Location>
- You may wish to add a
- <Limit>
- clause inside the
+
You may wish to use mod_access
inside the
<Location>
directive to limit access to your server configuration
- information.
+ information:
+
+
+ <Location /server-info>
+
+ SetHandler server-info
+ Order deny,allow
+ Deny from all
+ Allow from yourcompany.com
+
+ </Location>
+
Once configured, the server information is obtained by
accessing http://your.host.dom/server-info
diff --git a/docs/manual/mod/mod_info.xml b/docs/manual/mod/mod_info.xml
index 3593e699b8f..35112ff6272 100644
--- a/docs/manual/mod/mod_info.xml
+++ b/docs/manual/mod/mod_info.xml
@@ -40,12 +40,21 @@ configuration
</Location>
- You may wish to add a
- Limit
- clause inside the
+
You may wish to use mod_access inside the
Location
directive to limit access to your server configuration
- information.
+ information:
+
+
+ <Location /server-info>
+
+ SetHandler server-info
+ Order deny,allow
+ Deny from all
+ Allow from yourcompany.com
+
+ </Location>
+
Once configured, the server information is obtained by
accessing http://your.host.dom/server-info