Re: Host: header messes up httpd_accel mode

From: Duane Wessels <wessels>
Date: Fri, 22 Nov 96 23:01:19 -0800

jake@vivid.com writes:

>Hi,
>
>I'm having a problem using httpd_accel mode with Squid 1.1 beta 20. Squid
>uses the Host: header to decide the hostname to access, but the Host:
>header includes the port number (if it's not 80), and you wind up with two
>port numbers, like
>
> spazzy.vivid.com:3128:8000
>
>(httpd is on 8000, Squid is on 3128, URL is spazzy.vivid.com:3128), and you
>get a DNS lookup error.

My guess is that you're using Lynx, which incorrectly adds the :3128
to the Host: header. beta21 has a fix to icp.c which strips the
port from the Host.

Duane W.
Received on Fri Nov 22 1996 - 23:01:19 MST

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