How to configure Squid to allow access to cache manager when Squid port is not 3128
Issue
-
When having
squidlisten on a different port than 3128 (port 80 in the example below) and restricting theSafe_portsACL, the cache manager cannot be queried# grep "acl Safe_ports" /etc/squid/squid.conf acl Safe_ports port 80 # http # grep -w http_port /etc/squid/squid.conf http_port 80 # squidclient -p 80 mgr:info HTTP/1.1 403 Forbidden Server: squid/3.5.20 Mime-Version: 1.0 [...]
Environment
- Red Hat Enterprise Linux
- squid
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
