[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Proxy server with Apache



On Wed, 21 Jul 1999, Shao Zhang wrote:

> 	apache is a really a web server. AFAIK, it has very limited features to be a proxy server.
> 	If you are using debian, make sure the module is installed.
> 
> 	For a better proxy server, I suggest you to try out squid. There is a debian package for it.
OK, thanks for this hint.  Now I installed the potato package of
squid and tried to work out how to use it.  The FAQ says:

    % squidclient http://www.netscape.com/ > test

Unfortunately I get a
   HTTP/1.0 403 Forbidden
message with each server I try, also with http://localhost/.  To
make it clear, I append the file "test".

The second recommended test is 

        % squid -k check

What should I expect from this call?  It runs without any
message.

Assuming that I would be able to install squid successfully I
would like to know, what entry I have to set into my netscape
preferences for the proxy.  Is it the http address of the
host running Apache and Squid or what else?

Kind regards

       Andreas.
HTTP/1.0 403 Forbidden

Server: Squid/2.2.STABLE3

Mime-Version: 1.0

Date: Thu, 22 Jul 1999 09:29:00 GMT

Content-Type: text/html

Content-Length: 680

Expires: Thu, 22 Jul 1999 09:29:00 GMT

X-Squid-Error: ERR_ACCESS_DENIED 0

X-Cache: MISS from wr-linux01.rki.de

Proxy-Connection: close



<HTML><HEAD>
<TITLE>ERROR: The requested URL could not be retrieved</TITLE>
</HEAD><BODY>
<H1>ERROR</H1>
<H2>The requested URL could not be retrieved</H2>
<HR>
<P>
While trying to retrieve the URL:
<A HREF="http://localhost/";>http://localhost/</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>


<br clear="all">
<hr noshade size=1>
Generated Thu, 22 Jul 1999 09:29:00 GMT by wr-linux01.rki.de (<a href="http://squid.nlanr.net/Squid/";>Squid/2.2.STABLE3</a>)
</BODY></HTML>

Reply to: