Re: Host_and_Virtual_Patch failure

From: Henrik Nordstrom <>
Date: Wed, 22 Apr 1998 22:54:30 +0200

S. Faruque Ahmed wrote:
> I have been trying to implement transparent proxy with a Linux box
> 893239266.136 169 ERR_INVALID_URL/400 546 GET / - NONE/- -

You have not configured your squid in accelerator mode. Transparent
proxies is essentially a HTTP accelerator in front of every HTTP server,
and not really a proxy..

Example squid.conf:

# Enable transparent proxy on redirected port 80 traffic
httpd_accel virtual 80
# Get the servers real host name from the Host: header if available.
# (this was where the patch was required)
httpd_accel_uses_host_header on
# Allow clients to configure us as a proxy if they like to.
httpd_accel_with_proxy on

# Generic ACL maching all
acl all src

# Give our clients access
acl clients src
http_access allow clients

# Not peering with any ICP caches at the moment..
icp_access deny all

# Some cache is nice to have
cache_dir /squid_cache
cache_swap 1500

> At the last minute I caught a requirement (?) to patch the
> distribution with squid-1_1_20_host_and_virtual.patch.

This patch only applied to 1.1.20 and earlier. It is included in the
1.1.21 distribution (see the Changelog).

Henrik Nordström
Sparetime Squid Hacker
Received on Wed Apr 22 1998 - 15:21:21 MDT

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