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

From: Michael Zhao <[email protected]>
Date: Tue, 13 Nov 2001 15:54:55 +0800
Hi , all

Actually , I have already put the image file to /usr/local/apache/htdocs/images which the directory could be accessed via the browser . But I still could not get the satisfied solution . Any idea ? Any comment ?

Thanks everyone
Michael

-------- Original Message --------
Subject: Re: [squid-users] customizable error message could not display images
Date: Fri, 12 Oct 2001 13:10:06 +1000 (EST)
From: Colin Campbell <[email protected]>
To: Michael Zhao <[email protected]>
CC: <[email protected]>


Hi,

How are you referencing the image? If it's with a typical HTML 
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 Tue Nov 13 2001 - 00:55:02 MST

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