[squid-users] squidcliente stopped working!
Eliezer Croitoru
eliezer at ngtech.co.il
Tue Dec 20 15:59:11 UTC 2016
The issue is with acls and probably squidguard.
You should add to the configuration something like:
http_access allow localhost manager
and also another line that will deny localhost traffic from being inspected.
If the above as the first line doesn't sort it out I will need squid.conf to
understand what is causing it.
If you want to send the squid.conf privately feel free to do so.
Eliezer
----
http://ngtech.co.il/lmgtfy/
Linux System Administrator
Mobile: +972-5-28704261
Email: eliezer at ngtech.co.il
From: Sameh Onaissi [mailto:sameh.onaissi at solcv.com]
Sent: Tuesday, December 20, 2016 5:40 PM
To: Eliezer Croitoru <eliezer at ngtech.co.il>
Cc: squid-users at lists.squid-cache.org
Subject: Re: [squid-users] squidcliente stopped working!
Hi Eliezer,
Thanks for the reply.
changing /etc/hosts made no difference, the new log just showed the ipv4
localhost:
verbosity level set to 2
Request:
GET cache_object://localhost/info HTTP/1.0
Host: localhost
User-Agent: squidclient/3.5.22
Accept: */*
Connection: close
.
Transport detected: IPv4-mapped and IPv6
Resolving localhost ...
Connecting... localhost (127.0.0.1:3128)
Connected to: localhost (127.0.0.1:3128)
Sending HTTP request ...
done.
HTTP/1.1 200 OK
Date: Tue, 20 Dec 2016 15:42:07 GMT
Server: Apache/2.4.7 (Ubuntu)
Last-Modified: Fri, 25 Nov 2016 16:55:22 GMT
ETag: "bd-54222fce80317"
Accept-Ranges: bytes
Content-Length: 189
Vary: Accept-Encoding
Content-Type: text/html
Age: 225
X-Cache: HIT from http://squidpxy.domain.com
X-Cache-Lookup: HIT from http://squidpxy.domain.com:3128
Via: 1.1 http://squidpxy.domain.com (squid/3.5.22)
Connection: close
<!DOCTYPE html>
<html>
<body>
<center><img src="http://www.domain.com/squid/access_denied.jpg" alt="Acceso
Denegado" style="width:704px;height:428px;"></center>
</body>
</html>
curl just returns the html code of the access denied page.
On Dec 20, 2016, at 10:26 AM, Eliezer Croitoru <mailto:eliezer at ngtech.co.il>
wrote:
curl http://localhost:3128/squid-internal-mgr/info
More information about the squid-users
mailing list