Hi, Danny...
> I am trying to customize the error messages. I mainly want to report
> the the client hostname and not its IP address. I know that the tags
> supported by squid can give me the IP address : %i
According to 'errorpage.c' these tags are allowed:
* B - URL with FTP %2f hack x
* c - Squid error code x
* e - errno x
* E - strerror() x
* f - FTP request line x
* F - FTP reply line x
* g - FTP server message x
* h - cache hostname x
* H - server host name x
* i - client IP address x
* I - server IP address x
* L - HREF link for more info/contact x
* M - Request Method x
* m - Error message returned by external Auth. x
* p - URL port # x
* P - Protocol x
* R - Full HTTP Request x
* S - squid signature from ERR_SIGNATURE x
* s - caching proxy software with version x
* t - local time x
* T - UTC x
* U - URL without password x
* u - URL with password x
* w - cachemgr email address x
* z - dns server error message
According to this list I see no way to print out the client host name.
Christoph
-- ~ ~ ".signature" [Modified] 3 lines --100%-- 3,41 AllReceived on Tue Mar 25 2003 - 05:11:40 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:14:20 MST