You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2002/07/18 17:11:12 UTC

DO NOT REPLY [Bug 10932] - Allow Negative regex in LocationMatch

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10932>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10932

Allow Negative regex in LocationMatch

slive@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|Normal                      |Enhancement
           Priority|Other                       |Low
            Summary|Improper negative           |Allow Negative regex in
                   |LocationMatch behavior      |LocationMatch



------- Additional Comments From slive@apache.org  2002-07-18 15:11 -------
I don't believe that the LocationMatch/DirectoryMatch/FilesMatch sections
allow negatives.  The "!" syntax is certainly not documented anywhere.

I guess we could consider this bug report a request for such ability.  I have
seen it requested elsewhere, and it shouldn't be that difficult to provide.

As far as your particular problem, it should be easy to get around using something
like
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/bar
RewriteRule / http://somehost/ [P]

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