Re: [squid-users] customizable error message could not display images

From: Colin Campbell <sgcccdc@dont-contact.us>
Date: Fri, 12 Oct 2001 13:10:06 +1000 (EST)

Hi,

How are you referencing the image? If it's with a typical HTML <img...>
tag then of course the browser won't be able to see it cos it will attempt
to retrieve it from the "web server" running on the squid server. Since
there either isn't a web server or if there is, then $squid/etc/errors
certainly won't be in the http document root, the browser will never get
the image. I am guessin g that when squid encounters an error, it goes to
its error directory, looks up the appropriate file and just sends the
content back to the browser. Nothing there sounds like a web server to me.

Solution? Put the image on a web server accessible to the browsers you
want to be able to receive it.

On Fri, 12 Oct 2001, Michael Zhao wrote:

> Hi there ,
>
> My squid 2.4-stable1 running on redhat 7.1 box. I created one html file
> as my error message warning page which contain one gif image file, I
> copy it to $squid/etc/errors . When I test it , the page works except
> the browsers( IE, Netscape, opera ) can not display the image .
>
> Could anybody know that squid doesnt support the image customizable
> error message at present?

Colin
Received on Thu Oct 11 2001 - 21:10:24 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:02:41 MST