using proxy.pac file for IE6

Discussion in 'Internet Explorer' started by Tony Logan, May 18, 2009.

  1. Tony Logan

    Tony Logan Guest

    Here's the basic concept of what I'm trying to do:
    If a PC is on our company network, IE should use our proxy server. If the PC
    isn't on our company network, IE should NOT use the proxy and just make a
    direct connection. I'd like to roll this out to the laptops in our
    environment, since those users roam (sometimes on our network, sometimes off).

    I'm trying to get this to work with a proxy.pac file, but so far I've had
    zero luck making it work. In proxy.pac I have this...

    function FindProxyForURL(url,host) { return "PROXY xxx:yyy; DIRECT"; }

    ....where xxx is the IP address for the proxy, and yyy is the port to use.

    But it doesn't work. I can only reach our default home intranet page, and
    can't hit any other external page.

    So here are the questions I have at the moment:

    1. Can I run proxy.pac locally? Right now I'm testing with one laptop, and
    in IE6, if I go to Tools > Internet Options > Connections tab > LAN Settings
    button, "Use automatic configuration script" is selected, and the "Address"
    field is "C:\proxy.pac".

    2. Should "Automatically detect settings" be selected or not selected? Right
    now I have it not selected.

    3. Should "Use a proxy server for your LAN..." be selected or not selected?
    Our default setting was to have this selected, and then add in our
    exceptions list (clicking the Advanced tab). My hunch is that if I'm trying
    to use a proxy.pac file, I'd turn this setting off and then add my exceptions
    to proxy.pac, but I'm not sure. I've tried both selecting and not selecting
    this, but it doesn't seem to make any difference to the functionality I
    described above (can only get to our home intranet page and nowhere else if
    I'm using proxy.pac).

    Hope this is the right forum for this. Thanks.
     
    Tony Logan, May 18, 2009
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.