Bug 1011952 - cachemgr.cgi doesn't work by default
cachemgr.cgi doesn't work by default
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: squid (Show other bugs)
6.5
Unspecified Unspecified
low Severity low
: rc
: ---
Assigned To: Pavel Šimerda (pavlix)
Ondřej Pták
: EasyFix
Depends On:
Blocks:
  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:
Environment:
Last Closed: 2014-10-14 02:24:59 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  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):
squid-3.1.10-16.el6

How reproducible:
always

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

squid-3.1.10-20.el6_5.x86_64
----------------------------
:: [   FAIL   ] :: File 'query.out' should not contain 'Forbidden' 
:: [   FAIL   ] :: File 'query.out' should contain 'Generated .* by cachemgr.cgi' 

squid-3.1.10-22.el6.x86_64
--------------------------
:: [   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.

http://rhn.redhat.com/errata/RHBA-2014-1446.html

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