Re: [SQU] squid as a accelhost

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 11 Jan 2001 00:11:55 +0100

The easiest way to do it is to
1. Build squid with --disable-internal-dns
2. Add the domains to you /etc/hosts file with the servers IP address
instead of the official one..

--
Henrik Nordstrom
Squid Hacker
staf wagemakers wrote:
> 
> I'm using squid as a accelerator running on port 80 for a apache webserver
> at port 8080. Both are running on the same server. The apache webserver has a
> few virtual sites that uses the host header name.
> 
> I've enabled "httpd_accel_uses_host_header" in the squid config, but this
> causes squid to connect directly to the host that is in the host header name.
> 
> Is it possible to disable this behaviour??? The request should go directly
> to the same server.
> 
> The servers are behind a firewall and I've no access it, so I'm not able to
> open port 8080. The ip-addresses of the servers are NAT:ed to the outside
> world....
> 
> regards,
> 
> --
> Staf Wagemakers
> 
> email      : staf@digibel.org
> homepage   : http://staf.digibel.org
> 
> --
> To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Wed Jan 10 2001 - 16:36:31 MST

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