Re: [squid-users] Transparent caching : using non default http port

From: Henrik Nordstrom <[email protected]>
Date: Sat, 18 Nov 2006 08:11:34 +0100

fre 2006-11-17 klockan 14:24 -0900 skrev Chris Robertson:

> http_port 2000 # Make squid listen on port 2000*

Almost. Accelerator mode also needs at least one of
  defaultsite=your.main.website
  vhost

> cache_peer 1.2.3.4 parent 2000 0 no-query originserver
> acl accelerated_server dst 1.2.3.4

Actually the acl should be on the requested URL, not the peer.

acl accelerated_sites dstdomain your.main.website other.virtual.domain

> ....
> # INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
> http_access allow accelerated_server

Ok.

Regards
Henrik

Received on Sat Nov 18 2006 - 00:11:40 MST

This archive was generated by hypermail pre-2.1.9 : Fri Dec 01 2006 - 12:00:03 MST