[users@httpd] <LocationMatch>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux