Re: [squid-users] How to use access.log codes in custom error page

2015-03-02 Thread Yuri Voinov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A-ha! Can I use ICAP - for example, with ecap to extract metadata from ecap adapters? 02.03.15 17:09, Amos Jeffries пишет: > On 2/03/2015 11:56 p.m., Yuri Voinov wrote: >> But Amos, >> >> wait: >> >> root @ cthulhu / # /usr/local/squid/bin/squidcli

Re: [squid-users] How to use access.log codes in custom error page

2015-03-02 Thread Amos Jeffries
On 2/03/2015 11:56 p.m., Yuri Voinov wrote: > But Amos, > > wait: > > root @ cthulhu / # /usr/local/squid/bin/squidclient -p 3127 -r > http://www.eicar.org/download/eicar_com.zip Sending HTTP request > ... done. HTTP/1.1 301 Moved Permanently Date: Mon, 02 Mar 2015 > 10:55:55 GMT Location: > ht

Re: [squid-users] How to use access.log codes in custom error page

2015-03-02 Thread Yuri Voinov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 But Amos, wait: root @ cthulhu / # /usr/local/squid/bin/squidclient -p 3127 -r http://www.eicar.org/download/eicar_com.zip Sending HTTP request ... done. HTTP/1.1 301 Moved Permanently Date: Mon, 02 Mar 2015 10:55:55 GMT Location: http://cthulhu.loca

Re: [squid-users] How to use access.log codes in custom error page

2015-03-02 Thread Yuri Voinov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eh... :( No way to get metadata from adaptation module? 02.03.15 16:43, Amos Jeffries пишет: > On 2/03/2015 11:25 p.m., Yuri Voinov wrote: >> Not clear: >> >> I can use %adapt directly? This completely undocumented. > > The documented ones are

Re: [squid-users] How to use access.log codes in custom error page

2015-03-02 Thread Amos Jeffries
On 2/03/2015 11:25 p.m., Yuri Voinov wrote: > Not clear: > > I can use %adapt directly? This completely undocumented. The documented ones are the only ones that work at present. Patching is required for anything else. Amos ___ squid-users mailing list

Re: [squid-users] How to use access.log codes in custom error page

2015-03-02 Thread Yuri Voinov
-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

Re: [squid-users] How to use access.log codes in custom error page

2015-03-01 Thread Yuri Voinov
-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:: >> Just

Re: [squid-users] How to use access.log codes in custom error page

2015-02-28 Thread Amos Jeffries
-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:: > Just point me on right way. You just wrote the s

[squid-users] How to use access.log codes in custom error page

2015-02-27 Thread Yuri Voinov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 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::http://lists.squid-cache.org/listinfo/squid-users