Re: [squid-users] Intercept requests and send to a different URL

From: Will Roberts <ironwill42_at_gmail.com>
Date: Mon, 30 Jan 2012 13:13:45 -0500

You can use a hosts file to force certain domains to resolve to different IPs.

http://www.squid-cache.org/Doc/config/hosts_file/

--Will

On Mon, Jan 30, 2012 at 1:00 PM, Carter, David <dcarter_at_ddcadvocacy.com> wrote:
> I looked in the FAQ, but I'm sure even what to call what I'm looking for.  I saw entries about redirects, but I don't see how to apply them to what I need.  I want to use Squid to intercept requests from internal test machines and be able to point them to a particular batch of servers for testing.  For example, redirect requests for https://abc.com to https://qa.abc.com, or dev.abc.com, or staging.abc.com, as needed, but so the browser still thinks it's hitting abc.com so that SSL and all other functionality works correctly.  The sites are all behind a load-balancer which will allow me to apply the same certificate to the test servers.
>
> Thanks in advance for any suggestions.
>
> Dave
Received on Mon Jan 30 2012 - 18:13:53 MST

This archive was generated by hypermail 2.2.0 : Tue Jan 31 2012 - 12:00:04 MST