[debian-lan-devel] [SCM] Debian-LAN development and packaging branch, master, updated. dbdf4717096be75350efc43d7c88d14bddef33bc

Andreas B. Mundt andi.mundt at web.de
Mon Jan 30 20:24:21 UTC 2012


The following commit has been merged in the master branch:
commit d7bf4dd16d6bc63b07c2f77bfaadf1ff81d1e2d0
Author: Andreas B. Mundt <andi.mundt at web.de>
Date:   Sun Jan 29 20:25:19 2012 +0100

    Add automatic proxy configuration.

diff --git a/fai/config/files/var/www/wpad.dat/PROXY b/fai/config/files/var/www/wpad.dat/PROXY
new file mode 100644
index 0000000..9c153c1
--- /dev/null
+++ b/fai/config/files/var/www/wpad.dat/PROXY
@@ -0,0 +1,4 @@
+function FindProxyForURL(url, host) 
+{
+        return "PROXY webcache:3128; DIRECT";
+}
diff --git a/fai/config/scripts/PROXY/20-wpad b/fai/config/scripts/PROXY/20-wpad
new file mode 100755
index 0000000..eb13077
--- /dev/null
+++ b/fai/config/scripts/PROXY/20-wpad
@@ -0,0 +1,4 @@
+#!/bin/bash
+#
+
+fcopy /var/www/wpad.dat

-- 
Debian-LAN development and packaging



More information about the debian-lan-devel mailing list