Henrik Perhaps I am not understanding something about this.
I use transparent proxying. I tried to provide a custom GIF image on error pages by using a URL as you describe, and editing the error pages so they contain the image tags. However, the images are proxied. If the proxy says "access denied" the images is not available to the user, and so do not display. As a result of this problem I simply removed my custom images. You seem to be contradicting what I observed. While I was doing this I added some extra % tags to the replacement on the error pages, and some corresponding tags in squid.conf. That made it easier to make the changes. I guess it would be possible not to apply the access controls to the images used for the error pages. Gary Price ICT ----- Original Message ----- From: "Henrik Nordstrom" <[EMAIL PROTECTED]> To: "Gary Price (ICT)" <[EMAIL PROTECTED]>; "Gary Price (ICT)" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Sunday, March 02, 2003 8:11 AM Subject: Re: [squid-users] Custom Error Pages with images > The icon trick works for providing any files of reasonable size of any > mime type.. > > just add them after the "default" icon (last line, "." as pattern) to > ensure they are never confused to be real icons.. > > But my recommendation is to only use the icon trick as last resort. > Better to put the images on a real web server and refer to them by > full URL. > > > Note: access to icons is under http_access restriction like anything > else, so using the icons in access denied may be a little > cumbersome.. > > Regards > Henrik > > > On Saturday 01 March 2003 22.41, Gary Price \(ICT\) wrote: > > Would the icon option work for the Access Denied error page? I had > > assumed it was not possible to put custom images on that error > > page. > > > > Gary Price > > Intelligent Compression Technologies > > ----- Original Message ----- > > From: "Henrik Nordstrom" <[EMAIL PROTECTED]> > > To: "Stella Korakaki" <[EMAIL PROTECTED]> > > Cc: "Squid Mailling List" <[EMAIL PROTECTED]> > > Sent: Friday, February 28, 2003 11:59 PM > > Subject: Re: [squid-users] Custom Error Pages with images > > > > > You need to publish any images on some web server which your > > > users have access to, and refer to them by full URL. > > > > > > Another option, but slightly obscure one, is to load the required > > > images as icons in Squid (see mime.conf) and then refer to them > > > by /squid-internal-static/icons/<filename> > > > > > > Regards > > > Henrik > > > > > > fre 2003-02-28 klockan 15.40 skrev Stella Korakaki: > > > > hi everyone. > > > > I need to create my own error pages in squid. > > > > My first problem was that I couldn't identify with page matches > > > > with with error. > > > > For instance, when error 404 occures which one is the page > > > > displayed. > > > > > > > > The second problem is that I created some html pages which also > > > > display an image. > > > > When a page is not found and an error occures, the page is > > > > displayed but the image not. > > > > > > > > I also include the images in the same directory with the pages > > > > and I have put the correct src in the tags of the html page. > > > > > > > > > > > > Could anyone help me? > > > > > > > > rgds > > > > > > > > Stella > > > > > > -- > > > Henrik Nordstrom <[EMAIL PROTECTED]> > > > MARA Systems AB, Sweden > >