Search squid archive

Transparent Proxy with Squid and Host: header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everyone,

I have a question: i have set up squid in transparent mode, but i ran into
the following case:

the client has a hosts file, where it defines for example "host19" as
following

38.25.63.10 host19

then he attempts a connection using either IE or Firefox:

http://host19

the result is that squid gives an error, saying "host19" couldnt be found.
The client resolves
host19 using the hosts lookup table, but sends a "Host: host19" header
within the request,
and squid attempts the connection to that address, which it can't resolve.

Is there any way to fall back on the original IP destination of the request
if the Host: header
cannot be resolved ?

thanks in advance
Enrico

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.17/85 - Release Date: 30/08/2005


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux