This one time, at band camp, Erik de Castro Lopo wrote:
>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?

I did the exact same thing, and it just doesn't work here either!  (Firefox
1.5.0.6 in Debian unstable).

(That doesn't help you either, but maybe you feel consoled knowing it's not
just you)
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to