[squid-users] Multiple hostnames passed onto backend

From: orcadk <msr_at_ipaper.dk>
Date: Thu, 10 Jul 2008 09:34:31 -0700 (PDT)

Hi,

I'm trying to setup Squid to my needs.

Basically today I have a series of websites:
customer1.mysite.com
customer2.mysite.com
customerx.mysite.com

I want ot offload a lot of the static files through Squid by making a series
of Squid enabled sites:
customer1.squid.mysite.com
customer2.squid.mysite.com
customerx.squid.mysite.com

Now, customerx.mysite.com will still be available and will be used mainly,
only the cacheable parts will be retrieved from the corresponding
customerx.squid.mysite.com, thus offloading certain files from the real
servers.

Now, I can get Squid to do this for a single domain with just a couple of
settings:
http_port 80 accel defaultsite=customerx.mysite.com
cache_peer [internal_ip] 80 0 no-query originserver=customerx_server

However, I need to get this working for all the customer sites. The customer
sites themselves may be put on different servers. Basically I need to make a
map saying customerx.squid.mysite.com -> customerx.mysite.com, but for an
arbitrary amount of hostnames.

Any suggestions on how to do this?

Thanks!

-- 
View this message in context: http://www.nabble.com/Multiple-hostnames-passed-onto-backend-tp18385755p18385755.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Thu Jul 10 2008 - 16:34:33 MDT

This archive was generated by hypermail 2.2.0 : Fri Jul 11 2008 - 12:00:03 MDT