Re: [squid-users] problems setting up accelerator mode in squid 2.7

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Fri, 28 Aug 2009 03:33:50 +0200

fre 2009-08-28 klockan 09:54 +0930 skrev Brett Lymn:

> proxy. The current set up is the proxy is running on port 80, the web
> server on port 81. I set up squid with http_accel_host pointing to
> itself, the http_accel_port as 81, httpd_accel_single_host on and
> httpd_accel_with_proxy on.

Then no accelerator options should be used on your http_port, just

http_port 80

cache_peer localhost 81 0 name=accel no-query originserver

acl accel_sites dstdomain your.accel.site.name
cache_peer_access accel accept accel_sites

never_direct allow accel_sites

The setup you had before was actually somewhat broken, makign requests
loop an extra time via the same Squid.

Regards
Henrik
Received on Fri Aug 28 2009 - 01:34:01 MDT

This archive was generated by hypermail 2.2.0 : Fri Aug 28 2009 - 12:00:03 MDT