Bug 1011952 - cachemgr.cgi doesn't work by default
cachemgr.cgi doesn't work by default
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: squid (Show other bugs)
Unspecified Unspecified
low Severity low
: rc
: ---
Assigned To: Pavel Šimerda (pavlix)
Ondřej Pták
: EasyFix
Depends On:
  Show dependency treegraph
Reported: 2013-09-25 08:41 EDT by Karel Srot
Modified: 2014-10-14 02:24 EDT (History)
3 users (show)

See Also:
Fixed In Version: squid-3.1.10-22.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2014-10-14 02:24:59 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1446 normal SHIPPED_LIVE squid bug fix update 2014-10-13 21:05:47 EDT

  None (edit)
Description Karel Srot 2013-09-25 08:41:14 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):

How reproducible:

Steps to Reproduce:
1. install httpd
2. install squid
3. start httpd and squid
4. curl http://localhost/Squid/cgi-bin/cachemgr.cgi

Actual results:
access forbidden

Expected results:
cachemgr.cgi is accessible

Additional info:
Comment 3 Ondřej Pták 2014-05-20 12:52:23 EDT
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'
Comment 4 errata-xmlrpc 2014-10-14 02:24:59 EDT
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.


Note You need to log in before you can comment on or make changes to this bug.