Re: [SQU] Stop Forwarding

From: Craig Fels <csfels@dont-contact.us>
Date: Mon, 27 Nov 2000 21:50:25 -0600

I found this in the FAQ...

******************************************
First, you have to tell Squid to listen on port 80 (usually), so set the
'http_port' option:

        http_port 80

Next, you need to move your normal HTTP server to another port and/or
another machine. If you want to run your HTTP server on the same machine,
then it can not also use port 80 (except see the next FAQ entry below). A
common choice is port 81. Configure squid as follows:

        httpd_accel_host localhost
        httpd_accel_port 81

Alternatively, you could move the HTTP server to another machine and leave
it on port 80:
        httpd_accel_host otherhost.foo.com
        httpd_accel_port 80

You should now be able to start Squid and it will serve requests as a HTTP
server.

************************************

From one of your previous emails, I think you mentioned that you have one
machine that runs Squid and acts as your gateway to the Internet. You have
2 NICs with the IPs 123.123.123.123 and 192.168.0.1

www.domain.net resolves to 123.123.123.123.

From this information, and from the FAQs, you'll need the following lines in
your squid.conf....

http_port 80 8080 #80 for http_accel and 8080 for proxy
httpd_accel_host 192.168.0.200 #IP or FQDN of webserver
#^^^^^^^^^^^^ you had httpd_accel_name in your email FAQ shows _accel_host
httpd_accel_port 80

httpd_accel_with_proxy on

acls and http_access lines as appropriate.

This should work. Good Luck.

~Craig

----- Original Message -----
From: tom <tallison@phoenixdsl.com>
To: <squid-users@ircache.net>
Sent: Monday, November 27, 2000 9:11 PM
Subject: [SQU] Stop Forwarding

> How do I stop forwarding on an accelerator?
>
> I keep getting the same entries...
>
> --
> To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
>

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Mon Nov 27 2000 - 21:05:48 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:56:37 MST