]> git.ipfire.org Git - thirdparty/squid.git/commit
Templates for captive portal proxy configration instructions
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 16 Mar 2010 23:53:33 +0000 (12:53 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 16 Mar 2010 23:53:33 +0000 (12:53 +1300)
commitc6012689dbbae42bd91d59aa1e029a8558fa7aef
treed0bc267979bab22845de57a8b182b29905387a57
parent985f118d7380101902d3c9649ee5e613182e2e27
Templates for captive portal proxy configration instructions

Captive portals often have to bounce users to configuration instructions.
Those instructions consist of of how to setup WPAD or manual settings.
These templates allow for a standard and localized instruction set for
better support of mixed language users across any portal.

They are used by adding deny_info ERR_AGENT_... to the configuration.

The ERR_AGENT_CONFIGURE template utilizes visible_hostname and port info
from the responding proxy to display correct configuration details for
the gateway without requiring administrative re-write of the page.

Derived from work by the Mandrivia Project.

TODO:
 * some form of CSS agent detection to specialize the instructions.
 * add texts for other common agents
errors/templates/ERR_AGENT_CONFIGURE [new file with mode: 0644]
errors/templates/ERR_AGENT_WPAD [new file with mode: 0644]