Robin Bowes wrote:
Hi,

Given the following URL scheme:

  example.com/x/123456
  example.com/y/123456

Is it possible to forward the requests to different hosts based on the
URL, e.g.:

  example.com/x/123456 -> foo.com
  example.com/y/123456 -> bar.com

(foo.com and bar.com woud most-likely be specified as IP addresses)

Thanks,

R.

If I'm not mistaken, this is one of the uses of redirectors (http://wiki.squid-cache.org/SquidFaq/SquidRedirectors). You might benefit from also reading
http://www.squid-cache.org/mail-archive/squid-users/200311/0732.html
and
http://www.squid-cache.org/mail-archive/squid-users/200311/0744.html.

Chris

Reply via email to