Re: [squid-users] customizing error pages

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 19 Jun 2001 20:08:42 +0200

You need to put the icon on a HTTP server somewhere, and then use a full
URL to where the icon can be found.

If you want to use Squid to serve the icon then some tricks can be
played with mime.conf to load the icon into Squid, but this is not
recommended.

--
Henrik Nordstrom
Squid Hacker
Quoixte wrote:
> 
> Hopefully this is an easy question for someone.
> I am modifying my error pages with a company logo in the top right hand
> corner.
> What syntax should I use, to get squid to find this icon(companylogo.gif),
> below is a sample of my dns_fail error,
> 
> <HTML><HEAD>^M
> <TITLE>ERROR: The requested URL could not be retrieved</TITLE>^M
> </HEAD><BODY>^M
> <H1><img border="0" src="../companylogo.gif" align="right"></H1>^M
> (????????)
> <H1>&nbsp;</H1>^M
> <H1>ERROR</H1>^M
> <H2>The requested URL could not be retrieved</H2>^M
> 
> thanks in advance
> Jim.
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
Received on Tue Jun 19 2001 - 12:10:00 MDT

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