Bug 1011952

Summary: cachemgr.cgi doesn't work by default
Product: Red Hat Enterprise Linux 6 Reporter: Karel Srot <ksrot>
Component: squidAssignee: Pavel Šimerda (pavlix) <psimerda>
Status: CLOSED ERRATA QA Contact: Ondřej Pták <optak>
Severity: low Docs Contact:
Priority: low    
Version: 6.5CC: jkejda, optak, ovasik
Target Milestone: rcKeywords: EasyFix
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
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 06:24:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Karel Srot 2013-09-25 12:41:14 UTC
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 16:52:23 UTC
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 06:24:59 UTC
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.