squidclamav/squidclamav-6.10-config.patch

24 lines
1.0 KiB
Diff

diff -Nru squidclamav-6.10.orig/etc/squidclamav.conf squidclamav-6.10/etc/squidclamav.conf
--- squidclamav-6.10.orig/etc/squidclamav.conf 2012-10-27 17:35:50.000000000 +0200
+++ squidclamav-6.10/etc/squidclamav.conf 2013-03-27 19:49:41.902943626 +0100
@@ -14,16 +14,16 @@
maxsize 5000000
# When a virus is found then redirect the user to this URL
-redirect http://proxy.domain.dom/cgi-bin/clwarn.cgi
+redirect http://localhost/cgi-bin/squidclamav/clwarn.cgi
# Path to the squiGuard binary if you want URL filtering, note that you'd better
# use the squid configuration directive 'url_rewrite_program' instead.
-#squidguard /usr/local/squidGuard/bin/squidGuard
+#squidguard /usr/bin/squidGuard
# Path to the clamd socket, use clamd_local if you use Unix socket or if clamd
# is listening on an Inet socket, comment clamd_local and set the clamd_ip and
# clamd_port to the corresponding value.
-clamd_local /var/run/clamav/clamd.ctl
+clamd_local /var/run/clamav/clamd.socket
#clamd_ip 192.168.1.5,127.0.0.1
#clamd_port 3310