Re: Accelerator Mode

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 02 Feb 2000 20:00:05 +0100

Wilde, Jeff wrote:

> redirect_rewrites_host_header off

Do you know how to make correct use of that? The URL's must still be
unique for each site after the redirection, or the caching will be mixed
up. The content is cached on the URL after your redirector.

> httpd_accel_host virtual

Do you know what virtual here is? It is about IP addresses, not domain
names.

To make use of it you must have multiple IP addresses on your Squid
server, and different Internet domain names registered to the different
IP's. Then you also needs a redirector to rewrite the IP address to some
kind of site Squid can request. This is for accelerating/reverse proxy
multiple sites NOT using the Host header.

> httpd_accel_uses_host_header on

The above allows Squid to process Host headers when reconstructing the
requested URL.

> acl all src 0.0.0.0/0.0.0.0
> acl BIGENS dst 0.0.0.0/0.0.0.0
> no_cache deny BIGENS
> http_access allow all

I hope that you are aware that the above leaves your Squid completely
open. Unless great care is taken in your redirector, it may be wide open
for remote proxying to any site (not only yours).
Received on Wed Feb 02 2000 - 13:07:41 MST

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