Re: [squid-users] Is Squid for me? Redirecting to multiple servers...

From: Emilio Casbas <ecasbas@dont-contact.us>
Date: Thu, 13 Oct 2005 10:42:09 +0200

David Leangen wrote:

>
> Hello!
>
> I've read through the documentation, but there's a lot to digest.
>
> Can anybody tell me if Squid is the right product for me? Here is a
> summary of what I'd like to do.
>
> I would like to set up a proxy that will forward outside HTTP/HTTPS
> requests to a different internal server depending on the URL.
>
> For example:
>
> http://www.mydomain.com --> http://192.168.1.2:80
> http://www.mydomain.com/A/* --> http://192.168.1.2:8080
> http://www.mydomain.com/B/* --> http://192.168.1.2:8081
> http://www.myotherdomain.com --> http://192.168.1.4:80
>
>
> Can Squid do this? If so, how? Redirectors doesn't seem to be the
> right approach, so I'm not sure how this works.

Yes.
You have to write a redirector for these requests.
http://www.squid-cache.org/Doc/FAQ/FAQ-15.html#ss15.1

search in the squid list, it has been responded many times, with
different examples.

Thanks
Emilio C.
Received on Thu Oct 13 2005 - 02:40:29 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Nov 01 2005 - 12:00:04 MST