[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LYNX-DEV Possible "proxy autoconfigure" like MSIE/Netscape?
From: |
Jason Baker |
Subject: |
LYNX-DEV Possible "proxy autoconfigure" like MSIE/Netscape? |
Date: |
Fri, 18 Jul 1997 12:07:32 -0700 |
Just wondering if it would be possible for Lynx to take advantage of
".pac" files, which MSIE and Netscape now have for automatic proxy/cache
configuration. Here's a sample:
function FindProxyForURL(url, host) {
if (isPlainHostName(host) || dnsDomainIs(host, ".themis.ag.gov.bc.ca"))
return "DIRECT";
else
return "PROXY cache.themis.ag.gov.bc.ca:3128;
DIRECT";
}
This is just left on the server, and fetched by the browser on startup.
It makes for nice failover in case of a dead cache, and duplicating the
format would mean one less place to update when things change. :)
Jason
--
address@hidden | PGP key available
Systems Administrator, Information Systems | from MIT keyserver.
BC Family Maintenance Enforcement Program | KeyID: 6DA770E9
Pride, Envy, Greed, Lust, Wrath, Gluttony, Sloth, Netscapisms
pgpS4JV6XQiW5.pgp
Description: PGP signature
- LYNX-DEV Possible "proxy autoconfigure" like MSIE/Netscape?,
Jason Baker <=