[PATCH] auto-negotiate error pages

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 23 Jul 2008 23:50:47 +1200

Round 2;

Just the error page auto-negotiation process. This is based on optional
pre-translated error pages supplied by other patch.

This patch:
  * Converts error_directory squid.conf option into an optional override.
    Providing backward compatibility with older configurations and local
customizations.

  * Adds error_default_language to administratively set the backup
language presented by Squid.

  * Fixes design of previously broken hard-coded failover language.
    WAS: default to FreeBSD error install location. Hidden by
error_directory being required.
    NOW: failover to build-time configured errors/ directory 'English'
templates.

  * Adds --enable-auto-locale configure option to enable the following.

  * Adds logic to locate visitors most-preferred of available languages
and present a tailored error page as their reply.

Amos

Received on Wed Jul 23 2008 - 11:50:46 MDT

This archive was generated by hypermail 2.2.0 : Wed Jul 23 2008 - 12:00:07 MDT