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 04:23:46 UTC
DO NOT REPLY [Bug 10932] New: -
Improper negative LocationMatch behavior
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
Improper negative LocationMatch behavior
Summary: Improper negative LocationMatch behavior
Product: Apache httpd-2.0
Version: 2.0.39
Platform: PC
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: Other
Component: Core
AssignedTo: bugs@httpd.apache.org
ReportedBy: belg4mit@mit.edu
I've googled, and fiddled to no ends. I have what I believe to
be a simple goal. I wish to:
<LocationMatch !"^/bar">
ProxyPass http://somehost
</LocationMatch>
<Location /bar>
handler
</Location>
The specific regexp used doesn't matter. the instant I add !
which is supposed
to be the negation character /bar is passed to the handler
properly, but
anything else is not proxied but served from the local system
instead.
So to reiterate what is desired:
everything but /bar goes to somehost
/bar is handled locally
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org