Noting I have tried setting LiveCodes HTTP Proxy in the Preferences to the PAC File URL which didn't work.
Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ACN 009 342 572 -----Original Message----- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Nakia Brewer Sent: Thursday, 27 March 2014 8:05 AM To: How to use LiveCode Subject: RE: HTTPS Proxy and PAC files Hi Trevor, Our web browsers here are configured with 'Use a configuration script" checked and the URL to the PAC file. I can open the PAC file URL in a browser and clearly read its content, seems very basic. Noting above, this probably only sets the Browser to know the location of the PAC file and not the OS so is there somewhere in the OS (windows 7 enterprise) that I might set the location of the Proxy PAC file? Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ACN 009 342 572 -----Original Message----- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Trevor DeVore Sent: Wednesday, 26 March 2014 11:29 PM To: How to use LiveCode Subject: Re: HTTPS Proxy and PAC files On Tue, Mar 25, 2014 at 6:36 PM, Nakia Brewer <nakia.bre...@westrac.com.au>wrote: > > I see in the release notes for LC6.6 that HTTPS Through proxy is now > supported so I thought I would give it a try. > > The network I want to test it on runs PAC files for proxy assignment > and I can't find anywhere in livecode to set the location of the PAC file. > It looks like LiveCode is supposed to handle PAC files. If you look at the script of the revLibURL button of the revLibrary stack you will find that httpproxyforURL is now used to resolve the proxy for each url that is loaded. httpproxyforURL uses a PAC file to determine the proxy for a given URL. What I don't see in the script is where httpproxyforURL is initialized. If you pass in a 3rd parameter to httpproxyforURL with the PAC file contents then all subsequent calls to httpproxyforURL will use the same PAC file to resolve the proxy server for the given URL. It may be that the engine itself locates the PAC file and initialization is done in the engine. > Is it fair for me to assume it doesn't support PAC files yet? That depends. How is your computer configured to locate the PAC file? Is the path to the PAC file hardcoded or does your network use WPAD detection? On Windows, WPAD detection is done when the connection proxy settings are set to "Automatically detect settings". It could be that LiveCode will automatically initialize a PAC file if the OS is configured with a PAC file URL but that it doesn't support WPAD detection. If your computer has a hardcoded PAC file and LiveCode isn't picking it up then I think that would be a bug. -- Trevor DeVore Blue Mango Learning Systems www.screensteps.com - www.clarify-it.com _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode