From: Ralf S. Engelschall Date: Fri, 1 Aug 1997 09:36:41 +0000 (+0000) Subject: Let the user use ``RewriteCond %{...} !=""'' instead X-Git-Tag: APACHE_1_3b1~42 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=583d3c45d9e245d8b83f4d6f412c309a6c9fbc49;p=apache Let the user use ``RewriteCond %{...} !=""'' instead of ``RewriteCond %{...} !^$'' which is ugly and has bad performance. Obtained from: Submitted by: Ralf S. Engelschall Reviewed by: Dean Gaudet, Ralf S. Engelschall git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78852 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_rewrite.html b/docs/manual/mod/mod_rewrite.html index ce8731c259..9081f2ac4a 100644 --- a/docs/manual/mod/mod_rewrite.html +++ b/docs/manual/mod/mod_rewrite.html @@ -632,6 +632,8 @@ Treats the CondPattern as a plain string and compares it lexicographically to TestString and results in a true expression if TestString is lexicographically equal to CondPattern, i.e the two strings are exactly equal (character by character). +If CondPattern is just "" (two quotation marks) this +compares TestString against the empty string.

  • '-d' (is directory)
    Treats the TestString as a pathname and