Re: [squid-users] GET cache_object://localhost/info on a reverse proxy setup

From: David Obando <david_at_cryptix.de>
Date: Mon, 07 Jul 2008 10:19:45 +0200

Hi,

thanks for the hint, I added

http_port 127.0.0.1:3128

to my config. Now I can access port 3128 with telnet or squidclient, but
receive an "access denied":

/var/log/squid/access.log:
127.0.0.1 - - [07/Jul/2008:10:16:43 +0200] "GET
cache_object://localhost/info HTTP/1.0" 403 1430 "-" "-" TCP_DENIED:NONE

Regards,
David

Henrik Nordstrom schrieb am 04.07.2008 01:22:
> On tor, 2008-07-03 at 17:01 +0200, David Obando wrote:
>
>> Dear all,
>>
>> I'm using Squid as a reverse proxy in a Squid/Pound/Zope/Plone-setup.
>> Squid is running on port 80.
>>
>> I would like to access the cache manager with the munin plugins to
>> monitor Squid. The plugins use a HTTP request
>> "GET cache_object://localhost/info HTTP/1.0".
>> Standard port 3128 isn't active, when asking port 80 I get a 404-error
>> from zope.
>>
>> How can I access the cache manager in such a setup?
>>
>
> Are you sending the query to Squid, or directly to Zope?
>
> What I usually do in reverse proxy setups is to set up a normal 3128
> listening port on loopback for cachemgr and squidclient to use.
>
> http_port 127.0.0.1:3128
>
> Regards
> Henrik
>

-- 
The day microsoft makes something that doesn't suck is the day they start making vacuum cleaners.
gpg --keyserver pgp.mit.edu --recv-keys 1920BD87
Key fingerprint = 3326 32CE 888B DFF1 DED3  B8D2 105F 29CB 1920 BD87
Received on Mon Jul 07 2008 - 08:19:55 MDT

This archive was generated by hypermail 2.2.0 : Mon Jul 07 2008 - 12:00:04 MDT