summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNilgun Belma Buguner <nilgun@apache.org>2009-11-03 07:54:40 +0100
committerNilgun Belma Buguner <nilgun@apache.org>2009-11-03 07:54:40 +0100
commitfcc9b1c1dd432153010f2df63935ed9e0c6fff9f (patch)
treedf657571f9eae6f87762123564219535601027f0
parentThe hostname requires a http:// on the front of it, since we're (diff)
downloadapache2-fcc9b1c1dd432153010f2df63935ed9e0c6fff9f.tar.xz
apache2-fcc9b1c1dd432153010f2df63935ed9e0c6fff9f.zip
fixed validation error:
Attribute value "proxy-deny" of type ID must be unique within the document. Possibly a copy&paste error git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@832314 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--docs/manual/rewrite/rewrite_guide.xml37
1 files changed, 0 insertions, 37 deletions
diff --git a/docs/manual/rewrite/rewrite_guide.xml b/docs/manual/rewrite/rewrite_guide.xml
index 31d88cc3de..b3b2166b4b 100644
--- a/docs/manual/rewrite/rewrite_guide.xml
+++ b/docs/manual/rewrite/rewrite_guide.xml
@@ -400,43 +400,6 @@ RewriteRule ^foo\.html$ foo.night.html
</section>
- <section id="proxy-deny">
-
- <title>Proxy Deny</title>
-
- <dl>
- <dt>Description:</dt>
-
- <dd>
- <p>How can we forbid a certain host or even a user of a
- special host from using the Apache proxy?</p>
- </dd>
-
- <dt>Solution:</dt>
-
- <dd>
- <p>We first have to make sure <module>mod_rewrite</module>
- is below(!) <module>mod_proxy</module> in the Configuration
- file when compiling the Apache webserver. This way it gets
- called <em>before</em> <module>mod_proxy</module>. Then we
- configure the following for a host-dependent deny...</p>
-
-<example><pre>
-RewriteCond %{REMOTE_HOST} <strong>^badhost\.mydomain\.com$</strong>
-RewriteRule !^http://[^/.]\.mydomain.com.* - [F]
-</pre></example>
-
- <p>...and this one for a user@host-dependent deny:</p>
-
-<example><pre>
-RewriteCond %{REMOTE_IDENT}@%{REMOTE_HOST} <strong>^badguy@badhost\.mydomain\.com$</strong>
-RewriteRule !^http://[^/.]\.mydomain.com.* - [F]
-</pre></example>
- </dd>
- </dl>
-
- </section>
-
<section id="external-rewriting">
<title>External Rewriting Engine</title>