Re: [squid-users] problem with a website

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 27 May 2010 00:24:52 +1200

Isaac Witmer wrote:
> I'm getting an error when I attempt to view the website:
> http://cpanel.byethost.com/index.php
>
> ERROR
> The requested URL could not be retrieved
> While trying to retrieve the URL: http://cpanel.byethost.com/index.php
> The following error was encountered:
> Access Denied.
> Access control configuration prevents your request from being allowed
> at this time. Please contact your service provider if you feel this is
> incorrect.
> Your cache administrator is webmaster.
> Generated Wed, 26 May 2010 09:12:53 GMT by localhost (squid/3.0.STABLE8)
>
> I've gone through the config, but I can't figure out what's wrong.
> This is the first and only website that I have problems. If I dodge
> the cache, then I don't have any problem with the website, and this
> page doesn't show up (ie: it _is_ the local cache).
> It's also interesting that this page doesn't show the address I have
> in the config (though the other pages have).
>
> authenticate_ip_ttl 2 hours
> acl manager proto cache_object
> acl localhost src 127.0.0.1/32
> acl to_localhost dst 127.0.0.0/8
> acl localnet src 10.42.43.0/255.255.255.0 # RFC1918 possible internal network
<snip>
> http_access allow localnet
> http_access allow localhost
> http_access deny all
> http_reply_access allow localnet
> http_reply_access allow localhost
> http_reply_access deny all
<snip>
> http_port 3128 transparent
<snip>
> ... ClientIP: 41.223.57.82
<snip>

You are trying to access that proxy from a machine whose IP address is
41.223.57.82. This IP address is not listed as one of the local network
IPs permitted to use the proxy.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.3
Received on Wed May 26 2010 - 12:25:06 MDT

This archive was generated by hypermail 2.2.0 : Wed May 26 2010 - 12:00:07 MDT