Search squid archive

Re: [squid-users] localhost

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

 



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


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

  Powered by Linux