Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

conf file in this way:

acl localnetp2 src
http_access allow localnetp2 manager
http_access deny manager

I want to active the cache web manager, in the apache conf file(/etc/httpd/conf.d/squid-cachemgr.conf) i put:

ScriptAlias /Squid/cgi-bin/cachemgr.cgi /opt/squid/squid-3.2/libexec/cachemgr.cgi
# Only allow access from localhost by default
<Location /Squid/cgi-bin/cachemgr.cgi>
order deny,allow
deny from all
allow from
# If we want to allow access to cache manager from,
# uncomment the following line
# allow from
# Add additional allowed hosts as needed
# allow from .example.com

I write in the apache /etc/httpd/conf/httpd.conf

ServerName proxyserver

I run the command :

apachectl graceful

my /etc/hosts file: localhosht.localdomain localhost proxyserver

when i try to enter to the cache web manager the apache give the error:

You don't have permission to access /Squid/cgi-bin/cachemgr.cgi on this server.
Apache/2.2.15 (CentOS) Server at Port 80

In the log of apache i see:

[error][client] client denied by server configuration : /opt/squid/squid-3.2/libexec/cachemgr.cgi

How can i fix this? thanks.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.