]> granicus.if.org Git - apache/commitdiff
fixed validation error:
authorNilgun Belma Buguner <nilgun@apache.org>
Tue, 3 Nov 2009 06:54:40 +0000 (06:54 +0000)
committerNilgun Belma Buguner <nilgun@apache.org>
Tue, 3 Nov 2009 06:54:40 +0000 (06:54 +0000)
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

docs/manual/rewrite/rewrite_guide.xml

index 31d88cc3deba58666a25c877dc4d26ca0581475f..b3b2166b4b7ad2a870628b0d224c668fd15e5ba9 100644 (file)
@@ -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>