[squid-users] Re: custom error messages

From: Norman Zhang <[email protected]>
Date: Tue, 12 Aug 2003 18:06:22 -0700

Hi,

>> I'm trying customized the errors messages generated by squid in
>> /etc/squid/errors/. Now I have added an image (logo.gif) to the
>> ERR_* files, however, the error messages cannot display the correct
>> image (it adds http://deniedsite/logo.gif).
>
> This said it is possible to load logos and other images into squid via
> mime.conf and then refer to them as if they were icons. Icons have
> the url /squid-internal-static/icons/filename.gif
>
> To add a image, place the image into the icons directory and then add
> a line like this last in mime.conf
>
> ^$ - logo.gif - image

Thank you so much Henrik. May I ask how do I suppress or change the caption
on every error page (It would usually displayed the date, server, squid
version)?

Regards,
Norman
Received on Tue Aug 12 2003 - 19:06:28 MDT

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