Re: [PATCH] [RFC] custom error pages

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Thu, 25 Nov 2010 15:25:57 -0700

On 11/19/2010 10:58 PM, Amos Jeffries wrote:
> It has become clear that even with the new langpack setups we need an
> area dedicated to local custom ERR_* pages which is integrated with but
> fully separate from the bundled translations.
>
> This patch adds a configuration directory /etc/squid/errors.d/ for such
> templates to be placed.
>
> To simplify the error page loading a symlink is added from the templated
> /usr/share/squid/errors/local to that /etc/squid/errors.d folder and
> checked just before loading the errors/templates/ backup.
>
> Also, other ideas on what to call the symlink are welcome. I'm kind of
> partial to "local", but if anyone has a better idea we can go with that.
>
> Due to this implementation prioritizing these templates it obsoletes
> errors_directory. Docs there are updated to deprecate it for future full
> removal.

"local" sounds good to me, but can you explain why do we need both
errors.d and local? Can users install their custom errors into local
directly?

Thank you,

Alex.
Received on Thu Nov 25 2010 - 22:26:11 MST

This archive was generated by hypermail 2.2.0 : Fri Nov 26 2010 - 12:00:05 MST