Re: [squid-users] Custom error pages

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Thu, 17 May 2007 09:04:43 +0200

ons 2007-05-16 klockan 14:50 -0800 skrev Chris Robertson:
> Omar M wrote:

> What do you mean by "full path"? Using the path on the file system to
> include images and/or CSS is not going to work (nor would it work on a
> web server). You need to host them on a web server and reference the
> full URL. Relative links won't work with Squid, though the referenced
> elements will be cached if possible.

Well, it is technically possible to have Squid host them. Just requires
a little trickery in mime.conf.

After the last line in mime.conf, add dummy entries for your additional
files you'd like Squid to host. They will all be in the icons folder

  http://your.squid.server:port/squid-internal-static/icons/filename

Regards
Henrik

Received on Thu May 17 2007 - 01:04:48 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Jun 01 2007 - 12:00:05 MDT