httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Morris <tmor...@tmorris.net>
Subject [users@httpd] <LocationMatch>
Date Tue, 22 Aug 2006 23:43:21 GMT
Looking at http://httpd.apache.org/docs/2.0/mod/core.html#locationmatch
and using its example, is it possible to proxy depending on which of the
paths are used?

e.g.
Given <LocationMatch "/(extra|special)/data">
I wish to proxy using mod_proxy to either http://host/extra/data or
http://host/special/data - depending on which of the paths are matched
as the location.

Ultimately, I'd like to be able to have two scenarios

"/<any-path>/foo" proxy to http://host/<any-path>/foo
"/(path1|path2|path3...|pathn)" proxy to http://host/<the-matched-path>

Tony Morris
http://tmorris.net/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message