<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
-----BEGIN PGP SIGNED MESSAGE----- <br>
Hash: SHA256 <br>
<br>
<a class="moz-txt-link-freetext" href="http://wiki.squid-cache.org/Features/Redirectors">http://wiki.squid-cache.org/Features/Redirectors</a><br>
<br>
26.02.16 21:20, Karl-Philipp Richter пишет:<br>
<span style="white-space: pre;">> Hi,<br>
> I noticed that `jesred` when used as `url_rewrite_program`
program of<br>
> `squid` 4.0.4 with `jesred.rules`<br>
><br>
> regex
^<a class="moz-txt-link-freetext" href="http://(de.archive.ubuntu.com/ubuntu/(dists">http://(de.archive.ubuntu.com/ubuntu/(dists</a>|pool)/.*)$<br>
> <a class="moz-txt-link-freetext" href="http://192.168.178.20:3142/\1">http://192.168.178.20:3142/\1</a><br>
> regex
^<a class="moz-txt-link-freetext" href="http://(security.ubuntu.com/ubuntu/(dists">http://(security.ubuntu.com/ubuntu/(dists</a>|pool)/.*)$<br>
> <a class="moz-txt-link-freetext" href="http://192.168.178.20:3142/\1">http://192.168.178.20:3142/\1</a><br>
> regex ^<a class="moz-txt-link-freetext" href="http://(extras.ubuntu.com/ubuntu/(dists">http://(extras.ubuntu.com/ubuntu/(dists</a>|pool)/.*)$<br>
> <a class="moz-txt-link-freetext" href="http://192.168.178.20:3142/\1">http://192.168.178.20:3142/\1</a><br>
> regex
^<a class="moz-txt-link-freetext" href="http://(archive.canonical.com/ubuntu/(dists">http://(archive.canonical.com/ubuntu/(dists</a>|pool)/.*)$<br>
> <a class="moz-txt-link-freetext" href="http://192.168.178.20:3142/\1">http://192.168.178.20:3142/\1</a><br>
><br>
> regex ^<a class="moz-txt-link-freetext" href="http://(packages.medibuntu.org/(dists">http://(packages.medibuntu.org/(dists</a>|pool)/.*)$<br>
> <a class="moz-txt-link-freetext" href="http://192.168.178.20:3142/\1">http://192.168.178.20:3142/\1</a><br>
> regex<br>
>
^<a class="moz-txt-link-freetext" href="http://(ppa.launchpad.net/chromium-daily/stable/ubuntu/(dists">http://(ppa.launchpad.net/chromium-daily/stable/ubuntu/(dists</a>|pool)/.*)$
<a class="moz-txt-link-freetext" href="http://192.168.178.20:3142/\1">http://192.168.178.20:3142/\1</a><br>
> regex
^<a class="moz-txt-link-freetext" href="http://(http://deb.opera.com/opera/(dists">http://(http://deb.opera.com/opera/(dists</a>|pool)/.*)$<br>
> <a class="moz-txt-link-freetext" href="http://192.168.178.20:3142/\1">http://192.168.178.20:3142/\1</a><br>
><br>
> and an instance of `apt-cacher-ng` running on
`192.168.178.20:3142`<br>
> (according to `netstat`) causes a lot of entries like<br>
><br>
> 1456494043|E|481|192.168.178.20|403 Forbidden file type
or location:<br>
>
/security.ubuntu.com/ubuntu/dists/wily-proposed/main/binary-i386/Packages.gz192.168.179.2/192.168.179.2-GET<br>
><br>
> I'd like to get some feedback whether this might be due to a
change in<br>
> 4.x communication with `url_rewrite_program` and which is the<br>
> recommended program to use for `url_rewrite_program`.<br>
><br>
> -Kalle<br>
><br>
><br>
><br>
> _______________________________________________<br>
> squid-users mailing list<br>
> <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
> <a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a></span><br>
<br>
-----BEGIN PGP SIGNATURE-----
<br>
Version: GnuPG v2
<br>
<br>
iQEcBAEBCAAGBQJW0G5GAAoJENNXIZxhPexGlq0H/R9dvxtfSzY1EYcPh8al5u+u
<br>
ZIlSpd5jAvT698BsccY5o3mvYhlzp0EpKy5Bq53j+3/2uhPgF7mGEKwjByC9MuOh
<br>
7cwmz1cEVwWurQO6m1feloFw8YZN5wGK+k7v1l/Tj9PcQgJhkj4h9VY72k43Zocw
<br>
Xli5gPpileAsAjU8EwS09ReRl4EcM9j8b4hPmiXlc90UlkrnZOGE7gW08TNnqP/i
<br>
RgEkYAHfmtHL1/yFkHBj2waeeLDIPLH7P0xLt7gZHi8vwGIA81bvc/WPHsbRzObt
<br>
Erww857MP3JtCNX+OQvLizxEAq6wvNbdVn0HfGN5sRQo+o9KPcXr6A3JSdnmstE=
<br>
=N14X
<br>
-----END PGP SIGNATURE-----
<br>
<br>
</body>
</html>