Re: [squid-users] List of tokens or macros used in error page templates?
Hi, At 05:02 02/02/2008, Amos Jeffries wrote: Do you think that includes fixing that %i is always set to 0.0.0.0, even when I turn Forwarded-for back on? I know for 3.x it does. not sure about 2.6, but its likely. if not, we need a bug report on it. This bug was fixed by myself in August 2006 starting from 2.6 STABLE4 and 3.0.PRE5: http://www.squid-cache.org/bugs/show_bug.cgi?id=212 Regards Guido - Guido Serassio Acme Consulting S.r.l. - Microsoft Certified Partner Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY Tel. : +39.011.9530135 Fax. : +39.011.9781115 Email: [EMAIL PROTECTED] WWW: http://www.acmeconsulting.it/
[squid-users] List of tokens or macros used in error page templates?
Hi all, I am looking for a pointer of a list of those macros or tokens used in the errors/ templates. For example: BLOCKQUOTE Unable to determine IP address from host name for I%H/I /BLOCKQUOTE %H = hostname PYour cache administrator is A HREF=mailto:%w;%w/A. %w = email of webmaster What I'm looking for is one that contains the remote IP address of the client, hopefully it would still be set even if the X-Forwarded-for header is suppressed (I'm thinking it should be because squid still nows the remote IP address when it logs the client request into cache_access) I'm using 2.5.5 stable at the moment. Thanks -mark
Re: [squid-users] List of tokens or macros used in error page templates?
Hostmaster wrote: Hi all, I am looking for a pointer of a list of those macros or tokens used in the errors/ templates. http://squid.treenet.co.nz/Doc/Code/group__ErrorPageAPI.dyn These are 3.x docs now but even 2.6 should not be too different. For example: BLOCKQUOTE Unable to determine IP address from host name for I%H/I /BLOCKQUOTE %H = hostname PYour cache administrator is A HREF=mailto:%w;%w/A. %w = email of webmaster What I'm looking for is one that contains the remote IP address of the client, hopefully it would still be set even if the X-Forwarded-for header is suppressed (I'm thinking it should be because squid still nows the remote IP address when it logs the client request into cache_access) I'm using 2.5.5 stable at the moment. Well, you would be VERY much better off after upgrading. 2.5-anything are very old, with many known problems. Amos -- Please use Squid 2.6STABLE17+ or 3.0STABLE1+ There are serious security advisories out on all earlier releases.
Re: [squid-users] List of tokens or macros used in error page templates?
Amos Jeffries wrote: Hostmaster wrote: Hi all, I am looking for a pointer of a list of those macros or tokens used in the errors/ templates. http://squid.treenet.co.nz/Doc/Code/group__ErrorPageAPI.dyn These are 3.x docs now but even 2.6 should not be too different. Thanks, I did already guess that it was %i but... I'm using 2.5.5 stable at the moment. Well, you would be VERY much better off after upgrading. 2.5-anything are very old, with many known problems. Amos Do you think that includes fixing that %i is always set to 0.0.0.0, even when I turn Forwarded-for back on? I'll give it a shot in any case. Thanks for the help. -mark
Re: [squid-users] List of tokens or macros used in error page templates?
Hostmaster wrote: Amos Jeffries wrote: Hostmaster wrote: Hi all, I am looking for a pointer of a list of those macros or tokens used in the errors/ templates. http://squid.treenet.co.nz/Doc/Code/group__ErrorPageAPI.dyn These are 3.x docs now but even 2.6 should not be too different. Thanks, I did already guess that it was %i but... I'm using 2.5.5 stable at the moment. Well, you would be VERY much better off after upgrading. 2.5-anything are very old, with many known problems. Amos Do you think that includes fixing that %i is always set to 0.0.0.0, even when I turn Forwarded-for back on? I know for 3.x it does. not sure about 2.6, but its likely. if not, we need a bug report on it. I'll give it a shot in any case. Thanks for the help. -mark Amos -- Please use Squid 2.6STABLE17+ or 3.0STABLE1+ There are serious security advisories out on all earlier releases.