Re: [squid-users] How to make squid work for name based virtual web sites?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sun, 20 Dec 2009 23:16:49 +1300

fulan Peng wrote:
> We know lots of web sites hosted more than one web site. That means
> one IP,multiple host names. The web server go to different
> directories based on different domain names.
> Now how squid proxy them?
>
> if one IP hosted 2 web sites: a.www.company.com and b.www.company.com,
> I want to set up squid to proxy a.www.company.com with
> https://squid.com:8000 and b.www.company.com with
> https://squid.com:8001. How can I do it?

The easy way is detailed here:
  http://wiki.squid-cache.org/ConfigExamples/Reverse/VirtualHosting

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE7 or 3.0.STABLE20
   Current Beta Squid 3.1.0.15
Received on Sun Dec 20 2009 - 10:26:37 MST

This archive was generated by hypermail 2.2.0 : Sun Dec 20 2009 - 12:00:02 MST