Search squid archive

Re: Squid Error Pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On fre, 2008-07-11 at 15:30 -0400, Brie Gordon wrote:
> Hello!
> 
> I'm a longtime Squid user and I want to edit the error messages that
> Squid provides. I've located the files (ERR_ACCESS_DENIED,
> ERR_CACHE_ACCESS_DENIED, etc) and modified them but they are not
> displayed as I thought.

Common mistake ;-)

> For example, Squid appends a line about itself
> and the cache manager

Explained at "Customizable Error Messages"
http://wiki.squid-cache.org/SquidFaq/MiscFeatures#head-fd8f5559ec842b21e1acb06823eaa9b83897fcc3

> and does not display some images even though the
> HTML is correct.

Two possible causes:

a) Squid is not a web server.

or

b) The links you use for referring to the images is not correct.


The images needs to be hosted on a web server of yours, and the links
needs to be absolute URLs where those images can be found.

The error pages isn't real pages in their own. It's just the error
text/html content Squid shows instead of the requested data if there is
a problem. To the browser the error page is displayed in context of the
requested URL, and any relative links is relative to the requested URL,
not where the Squid error template happens to be on the proxy server
harddrive..

Regards
Henrik

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux