You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Tony Morris <tm...@tmorris.net> on 2006/08/23 01:43:21 UTC

[users@httpd]

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