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

From: LuisMi <luismi@dont-contact.us>
Date: Sun, 10 Feb 2002 17:38:49 +0100 (CET)

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.

-- 
+----------------------
|  Luis Miguel Cruz.
|								   |
  Public Key: http://www.flcnet.es/tbe/luismi/nadie/luismi_adp.asc |
                                             ----------------------+
Received on Sun Feb 10 2002 - 09:38:17 MST

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