Re: [squid-users] error files shipped on squid-3.2.3

From: Amos Jeffries <>
Date: Fri, 23 Nov 2012 15:27:43 +1300

On 23/11/2012 8:27 a.m., Leonardo Rodrigues wrote:
> Hi,
> I'm migrating some squid 2.7 servers directly to 3.2.3. One of the
> things that is actually annoying me on my testserver is that error
> files provided in squid-3.2 are always ONE-line-only, instead of the
> 2.7 ones which were formatted similary to HTML files.
> The one-line-only doesnt matter for being correctly displayed on the
> browser, i know. But that makes a real pain to customize them.
> Is this one-line-only error files needed for some reason ??
> I have checked several languages and seems all files on all languages
> are one-line-only. Dont know if it matters but i'll use, in
> production, the pt-br ones.

Firstly, what is wrong with them that needs fixing by text editor?

Secondly, edit the templates/ERR_* file and save over top of the other
auto-generated one. Only the auto-generated files are in compact format.

Thirdly a note: if you are using them right then your clients browser
tells Squid what language they can read and Squid supplies the
appropriate message text they can read and understand. People moving
around with laptops and phones set to strange languages are common these

For display changes use /etc/squid/errorpage.css

For completely new custom errors, use deny_info.

For replacing templates copy the template/* file and make your changes
then save it over the other one.

Received on Fri Nov 23 2012 - 02:27:55 MST

This archive was generated by hypermail 2.2.0 : Fri Nov 23 2012 - 12:00:05 MST