Re: [squid-users] host mapping not working for local http server

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 29 Aug 2008 13:08:26 +1200 (NZST)

>
> squid works fine for everything external but not for our internal company
> website which is on an internal (private) webserver.
>
> squid will deliver the site if the clients use the ip address for the
> webserver in the browser (http://192.168.20.15) but not if they use the
> domain name (http://ourcompany.web).
>
> this was previously achieved with a windows proxy by adding an entry in
> the
> hosts file on the proxy server:
> 192.168.20.15 ourcompany.web
>
> i've made that same change in /etc/hosts and it works on the squid server
> itself but not on a client configured to use the squid server.
>
> i enabled debug_options ALL,1 33,2 for debugging acls and could see it
> forwarding the ip addr request but the domain name request didnt even
> appear.
>
> I appreciate any help!

A peek at your broken config would be appreciated so we can point out the
correct config settings to you.

/etc/hosts should not be needed for peering relationships.

Also your squid release version.

Amos
Received on Fri Aug 29 2008 - 01:08:29 MDT

This archive was generated by hypermail 2.2.0 : Fri Aug 29 2008 - 12:00:04 MDT