This is a discussion on Re: [squid-users] NAT/Multiple Domains/Multiple Web Servers - squid ; On Sat, 17 Jan 2004, Bill Skulley wrote: > understand http. It does allow me to redirect ports (like TCP/80), so I can > redirect http to *one* of the boxes (or alternatively to another box > altogether, if needed). ...
On Sat, 17 Jan 2004, Bill Skulley wrote:
> understand http. It does allow me to redirect ports (like TCP/80), so I can
> redirect http to *one* of the boxes (or alternatively to another box
> altogether, if needed). I was thinking I could use squid to proxy for both
> systems and have it direct http traffic to the appropriate system, but I
> have been unable to make that work (probably because I have squid on the
> linux server...) so far.
Yes, you can.
See the httpd_accel_uses_host_header directive or look into Squid-3.
Note of warning: Make sure to set up access controls limiting which
servers are allowed to be accessed or you risk creating an open proxy open
for others to abuse.
Regards
Henrik