On Mon, 2005-05-16 at 12:18, D & E Radel wrote:
> Hi there.
>
> When a user types http://localhost/ in the web-browser, I presume that
> "localhost" to Squid means the IP address of the Squid server, not the IP
> address of the client. Is there a way to map "localhost" DNS requests in
> Squid back to the client pc so that they can still use the "localhost" alias
> in their browser?
Not easily. You might be able to get an external redirector script to
remap localhost to the client IP, but that won't work if they're NAT'ed
- and, indeed, squid couldn't cache the client's localhost anyway.
Far better to have the client browser treat localhost as a local domain
to go to directly, which you can do using a proxy.pac to configure the
client.
John
Received on Sun May 15 2005 - 18:35:41 MDT
This archive was generated by hypermail pre-2.1.9 : Wed Jun 01 2005 - 12:00:02 MDT