I want to use proxy.pac file to autoconfigure Firefox in Linux, but it doesn't work because the return value of the function myIpAddress() is always 127.0.0.1
my proxy.pac looks like
I have Firefox 1.5.0.3 and Gentoo Linux
do you know how to select other network adapter (eth0 insted of lo)?
my proxy.pac looks like
| Code: |
| function FindProxyForURL(url, host)
{ if ( isPlainHostName(host) || isInNet(myIpAddress(), "192.168.0.0", "255.255.0.0") || isInNet(myIpAddress(), "169.254.0.0", "255.255.0.0") || isInNet(host, "127.0.0.0", "255.255.0.0") || shExpMatch(url, "ftp:*") ) { return "DIRECT"; } else { return "PROXY some.proxy.com:3128;"; } } |
I have Firefox 1.5.0.3 and Gentoo Linux
do you know how to select other network adapter (eth0 insted of lo)?
