Search squid archive

Re: How to use access.log codes in custom error page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 28/02/2015 9:59 a.m., Yuri Voinov wrote:
> Hi gents.
> 
> Can I use log codes in custom error page and how to do this? Some 
> examples will be useful.
> 
> In details, interested in using adapt::<last_h code.
> 
> Just point me on right way.

You just wrote the static text with the code in it at the position you
want the item to appear.

The currently supported error page macro/tag/code's are listed at:
<http://wiki.squid-cache.org/Features/CustomErrors#ERR_.2A_template_codes_for_embedding>
Note most of the logformat codes are not supported yet.

And have a look at the installed templates for plenty of examples of
usage.

Amos
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJU8nX6AAoJELJo5wb/XPRjAI4IAMaJ1Bm2s77xzMPyMbMK5xoK
3VZJC4hxOxUcSOXuHyoTNNRAfE7gSAWPqf3PgR+kcqs5iSM6REmC1Jalo+Qv6Paa
RSAhKc39w4ZzMkE/kWVrqs4vzJOxRuG1M9F4Kx2faJMb8OECZx8+URBhF9U9UiSU
vVujyy71ooY9mO2nxldjlzqS/oiNWomxY2mKf7H5c/KbDoolGcMNDXsi0kP0HcQ9
ez9qVi2tVItT2Zb9D2gNbqbujlwMWlu761ydxzvrsGbvsuHTuQ7l1Ez5yXhixuAT
dsTUGOoq2A1fR7rmAjVu30C5DNdz/NYeBlGVjbWQC/mKpQ2lmOlTC9YmWIbdPZw=
=jgOh
-----END PGP SIGNATURE-----
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux