Re: [squid-users] proxy.pac-Bug in IE?

From: Florian Effenberger <floeff@dont-contact.us>
Date: Sat, 3 Jan 2004 13:38:34 +0100

Hello everyone,

thanks for your reply! I think I have found a solution:

    function FindProxyForURL(url, host)
        {
            if (isPlainHostName(host))
                    return "DIRECT";

            if (shExpMatch( host, "*.effenberger")||
                            shExpMatch(host, "192.168.0.*"))
                    return "DIRECT";

            if (url.substring(0, 5) == "http:" ||
                            url.substring(0, 4) == "ftp:"||
                            url.substring(0, 6) == "https:")
                    return "PROXY nibbler.effenberger:3128";
        }

This seems to work.

Florian
Received on Sat Jan 03 2004 - 05:39:21 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:03 MST