[squid-users] How to test squid using squid client

From: ying lcs <[email protected]>
Date: Thu, 12 Jul 2007 11:00:04 -0500

Hi,

I am reading "Test Squid" section here:
http://www.deckle.co.za/squid-users-guide/Starting_Squid

I am able to get squid running, but when I do the step of "
./squidclient http://www.squid-cache.org/" to test the squid, I get
the following permission denied error.

Can you please me how I can test a running squid the first time?

$ ./squidclient http://www.squid-cache.org/
HTTP/1.0 403 Forbidden
Server: squid/2.6.STABLE13
Date: Thu, 12 Jul 2007 15:54:53 GMT
Content-Type: text/html
Content-Length: 1073
Expires: Thu, 12 Jul 2007 15:54:53 GMT
X-Squid-Error: ERR_ACCESS_DENIED 0
X-Cache: MISS from nobody@test.com
Via: 1.0 nobody@test.com:3128 (squid/2.6.STABLE13)
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.squid-cache.org/">http://www.squid-cache.org/</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 Thu, 12 Jul 2007 15:54:53 GMT by nobody@test.com (squid/2.6.STABLE13)
</ADDRESS>
</BODY></HTML>
Received on Thu Jul 12 2007 - 10:00:12 MDT

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