Re: **IP Aliases and Squid**

From: Henrik Nordstrom <>
Date: Thu, 08 May 1997 21:55:44 +0200

Mark S. Velasquez wrote:

> I'm stumped. Is it possible to use squid-1.1.10 as an httpd accellerator for
> multiple IPs on a single interface ?

Yes, if your interface supports virtual IP adresses, squid will happily
use them (Squid doesn't care about interfaces, only IP adresses).

To use squid as an accelerator for virtual HTTP servers (more than one
HTTP server on one machine) you have two options.

1. If you have one IP per HTTP server, then add the keyword virtual to
you http_accel line.

2. If your virtual HTTP server uses the Host: request header, then turn
on httpd_accel_uses_host_header (does not currently work together with
virtual in http_accel).

In both cases you have to move your real servers to another port in
order to get squid in front of them.

Henrik Nordström
Received on Thu May 08 1997 - 13:07:58 MDT

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