[squid-users] How to use access.log codes in custom error page
Yuri Voinov
yvoinov at gmail.com
Mon Mar 2 10:56:50 UTC 2015
-----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.localdomain:8080/cgi-bin/clwarn.cgi.ru_RU?url=http://www.eicar.org/download/eicar_com.zip&source=127.0.0.1&user=-&virus=stream:
Eicar-Test-Signature FOUND
Server: C-ICAP
Content-Type: text/html
Content-Language: en
X-Virus-ID: Eicar-Test-Signature
X-Infection-Found: Type=0; Resolution=2; Threat=Eicar-Test-Signature;
Via: ICAP/1.0 cthulhu (C-ICAP/0.3.5 SquidClamav/Antivirus service )
X-Cache: MISS from cthulhu
X-Cache-Lookup: MISS from cthulhu:3127
Connection: close
How ICAP does it?
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 the only ones that work at present.
> Patching is required for anything else.
>
> Amos _______________________________________________ squid-users
> mailing list squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBAgAGBQJU9EHyAAoJENNXIZxhPexGepMIAKLAniURC+wrBuJY7uDXlqvB
oT6YGa2tQWWapTN+1koqR4pNvuuuPmxLBl5VpSEjXOkDYVgPD0oAL/o8UPWIMvuX
wwGx8C9dbpGhfxQijDDNCpIiXsia/1wWB6Pgtbv72x/FmN3UyoEa6i0Bup4FjrBv
Xd2RyINaf6QwwKM13RN0Rinowtk78nkPKgVFOjoy1WeiUiBG3TW4QKyS0DWpTdwa
zVqB9PgM2Iz3mgJsez7qzrD01XEOQY5wkPBxD3QMzxAOkhxTmCynCp631Wekmj33
KYIuT/uto56Sg3RM5xTUf9zmyz+h+jwuNgGxsZMpNJkeqVyPUq7KupUfuQVwmyM=
=6YCq
-----END PGP SIGNATURE-----
More information about the squid-users
mailing list