[squid-users] Help with cache manager in accelerator mode

From: Sean SPALDING <s.spalding_at_ecu.edu.au>
Date: Fri, 13 Nov 2009 12:19:48 +0800

Hi all,

I'm a squid newbie and struggling with getting Cache Manager working. I keep getting:

"Access Denied.
Access control configuration prevents your request from being allowed at this time."

What am I missing?

Here's our squid.conf:

emulate_httpd_log on

cache_dir ufs /squid_cache/squid 2048 16 256
cache_mem 1024 MB

access_log /var/log/squid/access.log

strip_query_terms off
read_ahead_gap 128 Kb

collapsed_forwarding on
refresh_stale_hit 30 seconds

retry_on_error on

maximum_object_size_in_memory 1 MB

acl manager proto cache_object

acl all src 0.0.0.0/0.0.0.0
acl purgehosts src 127.0.0.1/255.255.255.255
acl wcmshosts src 10.1.122.131-10.1.122.135/32

acl QUERY urlpath_regex /cgi-bin /_edit /_admin /_nocache /__lib /__fudge /_login
acl PURGE method PURGE
acl POST method POST
acl CONNECT method CONNECT

no_cache deny QUERY
no_cache deny POST

http_access deny manager !purgehosts
http_access deny manager !wcmshosts

http_access allow CONNECT purgehosts
http_access allow CONNECT wcmshosts
http_access allow PURGE purgehosts
http_access allow PURGE wcmshosts
http_access deny PURGE
http_access allow all

http_port 3128
http_port 10.1.122.131:80 vhost
http_port 10.1.122.131:8443 vhost
cache_peer 127.0.0.1 parent 80 0 originserver no-query no-digest default

redirect_rewrites_host_header off

read_ahead_gap 128 Kb

shutdown_lifetime 5 seconds

cachemgr_passwd XXXXXXXX all

Regards,

Sean.

This e-mail is confidential. If you are not the intended recipient you must not disclose or use the information contained within. If you have received it in error please return it to the sender via reply e-mail and delete any record of it from your system. The information contained within is not the opinion of Edith Cowan University in general and the University accepts no liability for the accuracy of the information provided.

CRICOS IPC 00279B
Received on Fri Nov 13 2009 - 04:20:15 MST

This archive was generated by hypermail 2.2.0 : Fri Nov 13 2009 - 12:00:04 MST