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

Not clear:

I can use %adapt directly? This completely undocumented.

I.e.

deny_info
http://192.168.100.251:8080/cgi-bin/virus_warn.cgi?clientaddr=%a&url=%u&virus=%adapt
clamav_service_resp

? This works with %u and %a, but can't get adapt value.

Not obvious how to use this code.

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.
> 
> 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 _______________________________________________ squid-users
> mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx 
> http://lists.squid-cache.org/listinfo/squid-users
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJU9Dp8AAoJENNXIZxhPexGnT8IAI+d/NvTddldwO/LBzNtTJYn
0RQgtSSZIUrhkjLwoNscDUAq8vt5kYNIg1aWjQixP0FECRZe55xCET+8xdhZN1qK
oate4rG584/rQWTnwntiuz9f90X9QLWPpVpQWUbKmA9MAl1ULrMZmeTLrOKi+UrI
H3QD1pO0Bh750H46DpmYntBdTDOKRbVoNBfycA5llm2Lz7fZZygI/J6lkL3nEmWq
xOcR5ZyimX5qEZ5lPBXQcfjQoysT9dgTXI7a8B69/0s1JYpsWSNt1p2SyIQFheZ9
j8OWiiwYWrMx95Y8Vl2ebvYpQGLBxby9cFP5ij0tbqr7VAY7vxy+ESHT2ruPxt4=
=w2Am
-----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