[squid-users] Reverse proxy to different servers for different urls

From: Tim McAuley <timonline@dont-contact.us>
Date: Wed, 1 Feb 2006 13:40:13 -0000 (GMT)

Hi,

I have been looking through the documentation and mailing archives and
have not found a clear way to do what I want.

What I want is:

Using a reverse proxy, I would like to be able to redirect requests to
different backend servers depending on the url being used (not the server
name).

I know it is possible to configure squid to work with multiple domains and
point the request to different servers according to the domain name, so I
want is pretty similiar, except using the same domain name all the time.

Example:
http://domainname.com/application1/index.html -> squid -> server1
(http://server1/index.html)

http://domainname.com/application2/index.html -> squid -> server2
(http://server2/index.html)

Ideally, stripping out "application1/2" from the url but not necessary.

Is this possible?

I'm running on Squid 2.5, pre-compiled for windows (on windows 2000).

Also, the incoming requests are https and these are converted to http for
the final server. So after the ssl is decrypted, squid should be able to
see the url in the request (I assume).

Any hints greatfully received.

Many thanks,

Tim
Received on Wed Feb 01 2006 - 06:40:13 MST

This archive was generated by hypermail pre-2.1.9 : Wed Mar 01 2006 - 12:00:03 MST