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

Attachment: signature.asc
Description: Detta är en digitalt signerad meddelandedel

Reply via email to