Re: [squid-users] Problems using cachemgr.cgi, access denied????

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 14 Feb 2002 05:46:03 +0100

What do you get in access.log?

Regards
Henrik Nordström
Squid Developer

On Sunday 10 February 2002 17.38, LuisMi wrote:
> Hi,
>
> I set my web server to permit access to cachemgr.cgi, I can view
> the web interface but when I try login into the cachemgr.cgi it
> always return me access denied.
>
> I read all FAQ and manuals and I think to understand all things but
> is possible I am doing a stupid mistake. I don't know exactly.
>
> My squid.conf is...
>
> [...]
> #Recommended minimum configuration:
> acl all src 0.0.0.0/0.0.0.0
> acl manager proto cache_object
> acl localhost src 127.0.0.1/255.255.255.255
>
> ### Added ####
> acl nt2000 src 172.16.0.1/255.255.255.255
>
> [...]
>
> #Default:
> # http_access deny all
> #
> #Recommended minimum configuration:
> #
> # Only allow cachemgr access from localhost
> http_access allow manager localhost
>
> ### Added ####
> http_access allow manager nt2000
>
> http_access deny manager
> # Deny requests to unknown ports
> http_access deny !Safe_ports
> # Deny CONNECT to other than SSL ports
> http_access deny CONNECT !SSL_ports
> #
> # INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
> #
> # And finally deny all other access to this proxy
> http_access allow localhost
>
> ### Added ####
> http_access allow nt2000
>
> http_access deny all
>
> [...]
>
> cachemgr_passwd secretpswd all
>
> I debug squid and I view into the logs..
> 2002/02/10 17:44:20| The request GET cache_object://172.16.0.10/ is
> DENIED, because it matched 'manager'
>
> What is wrong in my configuration?
>
> ALso I don't know what to write exactly in 'Manager name:' field of
> the cachemgr.cgi web interface.
>
> Thanks for the help.

-- 
MARA Systems AB, Giving you basic free Squid support
Customized solutions, packaged solutions and priority support
available on request
Received on Wed Feb 13 2002 - 22:08:24 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:21 MST