[squid-users] 403 Forbidden when using squid as a proxy

From: ying lcs <yinglcs@dont-contact.us>
Date: Wed, 8 Aug 2007 13:47:39 -0500

Hi,

I am trying to use squid as a proxy.
I think I get the squid up and running.

But I keep getting 403 (from my client).

1186598664.052 49 127.0.0.1 TCP_DENIED/403 1442 GET
http://127.0.0.1:8080/CacheLoadServlet? - NONE/- text/html

$ ./squidclient http://www.google.comHTTP/1.0 403 ForbiddenServer:
squid/2.6.STABLE14
Date: Wed, 08 Aug 2007 18:46:29 GMT
Content-Type: text/html
Content-Length: 1061
Expires: Wed, 08 Aug 2007 18:46:29 GMT
X-Squid-Error: ERR_ACCESS_DENIED 0
X-Cache: MISS from nobody@novarra.com
Via: 1.0 nobody@novarra.com:3128 (squid/2.6.STABLE14)
Proxy-Connection: close

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html;
charset=iso-8859-1">
<TITLE>ERROR: The requested URL could not be retrieved</TITLE>
<STYLE type="text/css"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE>
</HEAD><BODY>
<H1>ERROR</H1>
<H2>The requested URL could not be retrieved</H2>
<HR noshade size="1px">
<P>
While trying to retrieve the URL:
<A HREF="http://www.google.com">http://www.google.com</A>
<P>
The following error was encountered:
<UL>
<LI>
<STRONG>
Access Denied.
</STRONG>
<P>
Access control configuration prevents your request from
being allowed at this time. Please contact your service provider if
you feel this is incorrect.
</UL>
<P>Your cache administrator is <A HREF="mailto:webmaster">webmaster</A>.

<BR clear="all">
<HR noshade size="1px">
<ADDRESS>
Generated Wed, 08 Aug 2007 18:46:29 GMT by nobody@noorg.com (squid/2.6.STABLE14)
</ADDRESS>
</BODY></HTML>
Received on Wed Aug 08 2007 - 12:47:49 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:03 MDT