On Fri, Feb 24, 2006 at 09:57:24PM +0100, Martin Schr?der wrote:
> Hi,
> I've a firewall/proxy with 3.7 running a named and transparent
> squid. I want to use cachemgr.cgi, so I've setup apache to listen
> on port 8080 and copied /usr/local/libexec/cachemgr.cgi to
> /var/www/cgi-bin
> 
> Now, the Cache Manager Interface comes up on
> http://firewall:8080/cgi-bin/cachemgr.cgi, but whatever I enter
> (or if I simply press Continue), I always get an error page:
> ----------------------------
> Cache Manager Error
> 
> Unknown host: localhost 
> ----------------------------
> I'm stymied; dig localhost works. :-(
> 
> Any clues?

Apache is chrooted so it has no access to /etc/hosts and /etc/resolv.conf.
Try changing all ``localhost'' references to ``127.0.0.1'' in the CGI.

-Ray-

Reply via email to