On Sun, 17 Jan 2010 12:42:56 +0200, Arthur Titeica
<arthur.titeica_at_gmail.com> wrote:
> Hi,
>
> After compiling 'squid-3.1.0.15-20100117' I started seeing the following
> in cache.log
>
> 2010/01/17 12:29:08| errorpage.cc(294) errorTryLoadText:
> '/usr/share/squid3/errors/en/ERR_MAX': (2) No such file or directory
> 2010/01/17 12:29:08| WARNING: Error Pages Missing Language: en
>
> Anyone knows what conditions trigger squid to look for such error file?
The visitor has specified their Accept-Language: header with "en" as one
of the (or only) primary languages the visitor can read. Squid needs to
display the "ERR_MAX" page but it is not available in the "en" language.
Squid will try other languages the visitor indicated (if any), and show
the most preferred or fallback to looking for it in the default templates/
directory.
For custom pages you should duplicate the templates/ directory to a new
folder, add your custom error pages and set error_default_language with
the custom 'language' folder name. You may want to update the custom pages
and squid CSS display to match your company style too.
The message is a waring only (not an error) indicating that you have
customers who prefer that language. For better customer service providing a
copy of that template translated to it will help your users understand the
problem they face.
Amos
Received on Sun Jan 17 2010 - 21:40:00 MST
This archive was generated by hypermail 2.2.0 : Mon Jan 18 2010 - 12:00:04 MST