diff --git a/HowtoLAMP/Squid.md b/HowtoLAMP/Squid.md index d62ffe8b..d2bfdd04 100644 --- a/HowtoLAMP/Squid.md +++ b/HowtoLAMP/Squid.md @@ -28,8 +28,9 @@ acl Safe_ports port 80 # http acl SSL_ports port 443 563 acl WHITELIST url_regex "/etc/squid3/whitelist.conf" +acl REFERER referer_regex "/etc/squid3/whitelist-referer.conf" - deny !WHITELIST + deny !REFERER !WHITELIST allow INTERNE deny all @@ -37,6 +38,13 @@ logformat combined %>a %[ui %[un [%tl] "%rm %ru HTTP/%rv" %>Hs % + +~~~ + Le fichier _whitelist.conf_ contiendra les URLs autorisées en sortie : ~~~