Squid Accessing Itself
Hi there,
At our workplace, we've recently installed a Squid proxy & firewall using iptables. It's running Debian stable. It has Apache running on itself for an HTTP interface. When we access the web interface via the proxy, we receive; Code:
The following error was encountered while trying to retrieve the URL: http://proxy/ However, this seems to be breaking a standard and may introduce issues. Would anyone know of a correct to get around this issue? Thanks to any replies. |
Do you have the hostname "proxy" mapped to that loopback address in your hosts file? You didnt specify that there.
|
Hi Kustom42,
Yes, that's right. It's pointing to a loopback address of 127.0.1.1, Debian's standard loopback address. |
What is your /etc/nsswitch.conf set to for hosts? Do you have files listed before dns?
|
I wasn't aware of that file, but I've made that adjustment. It's now obtaining a valid IP for the machine.
However, I'm getting the same message, even after restarting Squid, so it wasn't exactly as I had thought. Oddly, using the FQDN 'proxy.worknetwork.local' works fine. |
All times are GMT -5. The time now is 04:31 PM. |