summaryrefslogtreecommitdiff
path: root/apache/wpad
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2002-10-31 03:30:11 +0000
committerJonas Smedegaard <dr@jones.dk>2002-10-31 03:30:11 +0000
commitf7b5970c667b05831dc8c4b2eb04cd59206bbaa4 (patch)
tree6f38d3f93bf22de29a864e1fa89576d309a6c0eb /apache/wpad
parentc48951bf14eab76fcc2c80e9d86a849f973bfa08 (diff)
apache: Add example wpad config.
Diffstat (limited to 'apache/wpad')
-rw-r--r--apache/wpad/wpad.dat8
1 files changed, 8 insertions, 0 deletions
diff --git a/apache/wpad/wpad.dat b/apache/wpad/wpad.dat
new file mode 100644
index 0000000..6dda8ce
--- /dev/null
+++ b/apache/wpad/wpad.dat
@@ -0,0 +1,8 @@
+function FindProxyForURL(url, host)
+{
+if (isPlainHostName(host) ||
+ dnsDomainIs(host, "cosmosbay.com") ||
+ isInNet(host, "172.16.0.0", "255.255.0.0"))
+ return "DIRECT" ;
+return "PROXY proxy:3128 ; PROXY proxy:3128" ;
+}