httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47935] Documentation > Rewrite > Rewrite Conditions: contains a contradiction
Date Fri, 02 Oct 2009 15:17:36 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47935

--- Comment #6 from Nick Kew <nick@webthing.com> 2009-10-02 08:17:33 PDT ---
Agree with Dan - hence my "poor example" comment: even just replacing "except
in" with "unless" would be an improvement, but that still leaves issues like
testing for "word"s when in fact it tests strings.  Better to drop it, except
that loses an example that could, despite all the faults, be helpful to users.

Let's not forget we can improve it for 2.3 and up, where this kind of ugly
mod_rewrite hackery is obsoleted:
<If ("%{QUERY_STRING} = /hack/) && !(%{HTTP_COOKIE} = /go/)">
    Deny from All
</If>

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message