[KLUG Members] Web Proxy/Filter/Auth
Rusty Yonkers
members@kalamazoolinux.org
Thu, 9 Oct 2003 10:08:24 -0700 (PDT)
> To auto config proxy settings in IE - add -
>
> option wpad-url code 252 = text;
> option wpad-url "http://wpad.morrison.iserv.net/wpad.dat";
>
Does this work for Mozilla too???
> to your DHCP server (assuming ISC DHCPd). And publish the wpad.dat
> file
> somewhere that clients can get to without any authentication. The
> wpad.dat file
> is a javascript program for setting the proxy settings, IE will
> automatically
> run this.
>
> Somethign like -
>
> function FindProxyForURL(url, host)
> {
> if (url.substring(0, 5) == "http:") {
> return "PROXY kohocton.morrison.iserv.net:3128; DIRECT";
> }
> else if (url.substring(0, 4) == "ftp:") {
> return "PROXY kohocton.morrison.iserv.net:3128; DIRECT";
> }
> else if (url.substring(0, 7) == "gopher:") {
> return "PROXY kohocton.morrison.iserv.net:3128; DIRECT";
> }
> else if (url.substring(0, 6) == "https:" || url.substring(0, 6)
> == "snews:") {
> return "PROXY kohocton.morrison.iserv.net:3128; DIRECT";
> }
> else {
> return "DIRECT";
> }
> }
=====
Rusty Yonkers
CNE, MCP, A+, CCNA, Linux+, Server+, Network+ certified
-----------------------------------------
Ubergeek -- An Atomic Supergeek with an attitude!
-----------------------------------------
Currently using SuSE 8.2, Mac OS X, and WinXP (would love to get rid of last one)
...............looking for penguin domination.....................
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com