wh@xxxxxxxxx wrote:
Can these pages be written in php?
Squid does not parse PHP code and (last I saw) you can't use deny_info with http_reply_access, so I fear no. Perhaps you could perform a JavaScript (or a Refresh pragma) redirect to a PHP page on another server.
The list of variables available to custom error pages is at http://wiki.squid-cache.org/Features/CustomErrors.
Chris