Re: [squid-users] Cache isn't used

From: Matus UHLAR - fantomas <uhlar@dont-contact.us>
Date: Wed, 4 May 2005 07:07:23 +0200

> "Matus UHLAR - fantomas" wrote:
> > if you only listen on 127.0.0.1, you (and the cachenmgr) can't connect to
> > 10.0.0.254 because squid is not listening there. You have to connect to
> > 127.0.0.1 with cachemgr, which will only work if cachemgr runs on the same
> > machine as squid (iirc it does)

On 03.05 15:57, sasa wrote:
> .. I am sorry but pharaps there is a confusion for my problem and my configuration.
> I don't use 127.0.0.1 (that is only for test !), my configuration is:
>
> http_port 10.0.0.254:3128
> .. and in httpd.conf there is:
> listen 10.0.0.254:80
>
> ..now when for my machine (internal lan) I try to access cachemanager with address:
>
> http://10.0.0.254/cgi-bin/cachemgr.cgi
> .. I have the following error:
>
> ERROR
> The requested URL could not be retrieved
> While trying to retrieve the URL: cache_object://10.0.0.254/
> The following error was encountered:
> Access Denied.

Aha... did you allow manager from 10.0.0.254 ?

there should be:

acl manager proto cache_object
acl yourmachine src 10.0.0.254
http_access allow manager yourmachine
http_access deny manager

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
How does cat play with mouse? cat /dev/mouse
Received on Tue May 03 2005 - 23:07:26 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Jun 01 2005 - 12:00:02 MDT