-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 01.03.15 8:14, Amos Jeffries пишет: > 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. Good, but how to extract adaptation meta into substitution variable or something? Without patching Squid or eCAP library? Alex pointed me to you ;) to ask it. > > 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. Yes, template codes is passed. This is ok. But how to extract adaptation meta? May be need external wrapper? Or something like? I've seen how ICAP externally extract X-Virus-ID. Can I do the similar with eCAP and within Squid config? > > And have a look at the installed templates for plenty of examples > of usage. > > Amos _______________________________________________ squid-users > mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx > http://lists.squid-cache.org/listinfo/squid-users > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJU8wk/AAoJENNXIZxhPexGBI4H/RL++iZ+gN0+VgX0Y176mE16 6ReAif8ct+23L2Mfh2JAvTG4rLup7net4OAgSgshvTfhx1xfAnlwyPTd6ChoB6/H /R5sbfidadyH0TpClHTR+E6Vww0ayld+qRdKpuSlLjsOEn3p8tg5vVetFJPNudlZ 1rXg2dHiWXCYW3iudcRweTButUDqY5fTYpUXu2fKRiAsJWhm6IZmCnMluntTaO2R 4rJKFHDc6AvnVwoYlLO1jFUWNYg6Q8mTfvjNnxLPsJnlqm52P4w7I13KiwyQmjsL M0dDt6Sh/MzbPj3gSfpb/r+N/bG9opk5PGZaaEQppWn1Oert55+0fjLaOyFjQPg= =IzCF -----END PGP SIGNATURE----- _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users