RE: [squid-users] Newbie Question: proxy.pac

From: HUNT_STEVE <HUNT_STEVE@dont-contact.us>
Date: Fri, 26 Oct 2001 11:08:33 -0700

Mack,

I think the end of your proxy.pac should look like this instead:

> dnsDomainIs(host, ".edrs.com") ||
> dnsDomainIs(host, "bugeye2.wm.edu") ||
> dnsDomainIs(host, "it.wm.edu"))
> return "Proxy proxy.wm.edu:8080; DIRECT";
>
> return "DIRECT";
> }
>

Steve Hunt
hunt_steve@smc.edu

> -----Original Message-----
> From: Mack Lundy [mailto:malund@wm.edu]
> Sent: Friday, October 26, 2001 9:31 AM
> To: squid-users@squid-cache.org
> Subject: [squid-users] Newbie Question: proxy.pac
>
>
> Users are reporting problems configuring their browsers
> (Netscape & IE)
> for automatic proxy configuration. I inherited the proxy.pac and have
> attempted to clean it up to try to resolve the problem.
> Below is what I
> have put together from the user's guide. Since I can't give it a true
> test at work, I'd appreciate someone telling me if I have made a
> mistake. Have I left anything out.
>
> Thanks
>
> Mack
>
>
>
> function FindProxyForURL(url, host)
> {
> if (isPlainHostName(host)) {
> return "DIRECT";
> }
> if (dnsDomainIs(host, "iter.library.utoronto.ca")||
> dnsDomainIs(host, ".aps.org")||
> dnsDomainIs(host, ".umich.edu")||
> dnsDomainIs(host, ".collegesource.org")||
> dnsDomainIs(host, ".ed-phys.fr")||
> dnsDomainIs(host, ".wiley.com")||
> dnsDomainIs(host, ".nber.org")||
> dnsDomainIs(host, ".edrs.com")) {
> dnsDomainIs(host, "bugeye2.wm.edu"))||
> dnsDomainIs(host, "it.wm.edu"))
> return "Proxy proxy.wm.edu:8080; DIRECT";
> }
> return "DIRECT";
> }
>
> -----
> Mack Lundy
> Systems Librarian
> College of William & Mary, Swem Library
> voice: 757.221.3114
> email: malund@wm.edu
>
Received on Fri Oct 26 2001 - 12:08:35 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:03:09 MST