Re: [squid-users] Accelerator Question

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Fri, 01 Sep 2006 00:01:56 +0200

tor 2006-08-31 klockan 13:39 +0200 skrev Michael Ackermann:
> Hi all,
>
> Related to this link
> http://www.squid-cache.org/mail-archive/squid-users/200608/0075.html
>
> I tried to setup my reverse proxy but it don't work how I want.
>
> I use squid-2.6.STABLE3 with following config
> -snip-
> http_port 3128 vhost vport=80

Don't use vport. It's not what you want. vhost is sufficient. What you
should add is a defaultsite= marking your primary web site (what old
HTTP/1.0 clients not sending Host headers should get).

> cache_peer micack.mine.nu parent 80 0 no-query
> cache_peer micack1.mine.nu parent 80 0 no-query

You also need cache_peer_access/cache_peer_domain to select which
requests gets sent to which peer.
> /etc/hosts set up is correct.
> - snip -
> 192.168.0.110 micack.mine.nu
> 192.168.0.225 micack1.mine.nu

Note: You can use the IP addresses in squid.conf instead of specifying
them in /etc/hosts.

Regards
Henrik

Received on Thu Aug 31 2006 - 16:02:00 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Sep 01 2006 - 12:00:02 MDT