Re: deny_info problem

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 31 Jan 1999 18:43:17 +0100

Danny Sinang wrote:

> How can I include or state in my custom "Access Denied" page the
> site that was just blocked ?

Use a text with %U where you want the site URL printed.

% codes available in error pages: (from src/errorpage.c)

 %B - URL with FTP %2f hack
 %c - Squid error code
 %d - seconds elapsed since request received
 %e - errno
 %E - strerror()
 %f - FTP request line
 %F - FTP reply line
 %g - FTP server message
 %h - cache hostname
 %H - server host name
 %i - client IP address
 %I - server IP address
 %L - HREF link for more info/contact
 %M - Request Method
 %p - URL port #
 %P - Protocol
 %R - Full HTTP Request
 %S - squid signature from ERR_SIGNATURE
 %s - caching proxy software with version
 %t - local time
 %T - UTC
 %U - URL without password
 %u - URL without password, %2f added to path
 %w - cachemgr email address
 %z - dns server error message

---
Henrik Nordstrom
Spare time Squid hacker
Received on Sun Jan 31 1999 - 11:21:31 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:44:11 MST