You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ma...@apache.org on 2001/10/01 10:21:44 UTC
cvs commit: httpd-docs-1.3/htdocs/manual/misc rewriteguide.html
martin 01/10/01 01:21:44
Modified: htdocs/manual/misc rewriteguide.html
Log:
Undo the change in Rev.1.10. As Ralf pointed out, the '=' prefix
changes the Regex-Matching to a Plain-Text Matching.
Submitted by: "Ralf S. Engelschall" <rs...@engelschall.com>
Revision Changes Path
1.13 +2 -2 httpd-docs-1.3/htdocs/manual/misc/rewriteguide.html
Index: rewriteguide.html
===================================================================
RCS file: /home/cvs/httpd-docs-1.3/htdocs/manual/misc/rewriteguide.html,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- rewriteguide.html 2001/09/27 16:49:16 1.12
+++ rewriteguide.html 2001/10/01 08:21:44 1.13
@@ -1714,8 +1714,8 @@
<P><TABLE BGCOLOR="#E0E5F5" BORDER="0" CELLSPACING="0" CELLPADDING="5"><TR><TD><PRE>
RewriteEngine on
RewriteMap hosts-deny txt:/path/to/hosts.deny
-RewriteCond ${hosts-deny:%{REMOTE_HOST}|NOT-FOUND} !NOT-FOUND [OR]
-RewriteCond ${hosts-deny:%{REMOTE_ADDR}|NOT-FOUND} !NOT-FOUND
+RewriteCond ${hosts-deny:%{REMOTE_HOST}|NOT-FOUND} !=NOT-FOUND [OR]
+RewriteCond ${hosts-deny:%{REMOTE_ADDR}|NOT-FOUND} !=NOT-FOUND
RewriteRule ^/.* - [F]
</PRE></TD></TR></TABLE><P>