[PATCH] errpage option for proxy listening port

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sun, 10 Apr 2011 19:55:46 +1200

Use getMyPort() to insert the forward-proxy listening port into error
pages and deny_info redirect URLs. This fixes the current port
hard-coding assumption in ERR_AGENT_CONFIGURE.

The %b option is added for this purpose as a temporary measure until the
codes are merged with the more flexible log formatting set.

This depends on the getMyPort() alteration presented earlier for its
accuracy. It may be used separately, but squid.conf then must have a
particular http_port ordering with the forward-proxy port listed first.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.12
   Beta testers wanted for 3.2.0.6

Received on Sun Apr 10 2011 - 07:55:50 MDT

This archive was generated by hypermail 2.2.0 : Wed Apr 20 2011 - 12:00:05 MDT