Re: [squid-users] Illegal character in hostname '!host!'

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 04 May 2010 23:14:30 +0000

On Tue, 4 May 2010 11:17:18 -0700, Tory M Blue <tmblue_at_gmail.com> wrote:
> I'm seeing this error on occasion and trying to figure out how to
> capture what is causing it.
>
> 2010/05/04 11:06:03| urlParse: Illegal character in hostname '!host!'
>
>
> !host!.
>
> I've thought maybe it was actually in a URI but I've added access
> logging with urlpath_regex -i \!host and nothing is matching.

urlpath_regex matches the path+filename+query portion of the URL.

Try with url_regex.

>
> Is the !host! possibly internal to squid?

No.

>
> How do I go about capturing and figuring this out?

If the url_regex does not capture it debug_options 84,9 will display all
the headers going through squid.

debug_options 23,3 will show the higher level URL parse and what its being
split into.

Amos
Received on Tue May 04 2010 - 23:14:33 MDT

This archive was generated by hypermail 2.2.0 : Wed May 05 2010 - 12:00:04 MDT