HI all, Some time ago when I last asked about this, Matthew Hannigan wrote:
> You could write yourself a proxy.pac file; you > could if/then/else on the basis of myIpAddress(). > > http://wp.netscape.com/eng/mozilla/2.0/relnotes/demo/proxy-live.html I've looked that documentation and some other stuff I found on the web and came up with the following proxy.pac file: function FindProxyForURL(url, host) { if (isInNet (myIpAddress(), "192.168.18.0", "255.255.255.0")) return "DIRECT"; if (isInNet (myIpAddress(), "192.168.12.0", "255.255.255.0")) return "PROXY 192.168.12.101:3128" ; return "DIRECT"; } but I simply can't get it to work, either in Galeon 2.0 or in Firefox. Does anybody see something I'm doing wrong here? Has anyone else got this working? Cheers, Erik -- +-----------------------------------------------------------+ Erik de Castro Lopo +-----------------------------------------------------------+ "One of Subversions biggest weaknesses is its lack of adequate internal tracking for merges." -- William Nagle in "Subversion Version Control" -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
