Red Hat Bugzilla – Bug 1011952
cachemgr.cgi doesn't work by default
Last modified: 2014-10-14 02:24:59 EDT
Description of problem:
When using the default /etc/httpd/conf.d/squid.conf config file shipped with squid the access to a http://localhost/Squid/cgi-bin/cachemgr.cgi is forbidden.
To make it work I had to replace "allow from localhost.localdomain" with "allow from localhost".
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install httpd
2. install squid
3. start httpd and squid
4. curl http://localhost/Squid/cgi-bin/cachemgr.cgi
cachemgr.cgi is accessible
results from /CoreOS/squid/Regression/bz1009402-squid-cachemgr-regression-introduced-in
:: [ FAIL ] :: File 'query.out' should not contain 'Forbidden'
:: [ FAIL ] :: File 'query.out' should contain 'Generated .* by cachemgr.cgi'
:: [ PASS ] :: File 'query.out' should not contain 'Forbidden'
:: [ PASS ] :: File 'query.out' should contain 'Generated .* by cachemgr.cgi'
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.