Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mimesweeper for web proxy.pac question

Status
Not open for further replies.

swabs

IS-IT--Management
Jul 28, 2003
155
US
Hello,

I have a problem with our Proxy.pac file. We currently have a local copy of a proxy.pac file in each remote office. Each local file redirects most requests to a server(named PROXYWEB) in our main office. The script is very simple:

function FindProxyForURL (url, host)
{
else
if (isInNet(myIpAddress(), "192.168.235.0", "255.255.255.0")) return "PROXY PROXYWEB:80";

else
return "DIRECT";

This works great if the connection to the main office is functioning. However if the link fails users in each office can't browse the web because their browser is searching for PROXYWEB which is not available. Is there a command I can enter to tell the script to use "DIRECT" if PROXYWEB is not reachable?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top