?
Solved

Internet Explorer 8 and pac files (proxy auto configuration)

Posted on 2010-03-29
2
Medium Priority
?
4,677 Views
Last Modified: 2013-12-08
I need to deploy a pac file using gpo. That seems to be no problem but Internet Explorer 8 just won't take any pac file. I tried lots of pac files and IE8 won't use them.

The one I'm using (see code snippet) works ok with Mozila Seamonkey but not IE.

Even calling the pac file using file:///c:/proxy.pac won't work.

I don't know if it's relevant but pac file will be placed on a network share (file:////ba-dc1/transfer/proxy.pac)

Thanks in advance for your help,

Pancho
function FindProxyForURL(url, host){
	if (dnsDomainIs(host, ".unitan.corp")){
		return "DIRECT";
		}
	return "PROXY 131.107.2.95:3128;";
	}

Open in new window

0
Comment
Question by:Panchux
2 Comments
 
LVL 38

Accepted Solution

by:
Rich Rumble earned 2000 total points
ID: 29080727
http://technet.microsoft.com/en-us/library/cc985352.aspx
I think this may come down to your java version... try the code below
http://bugs.sun.com/bugdatabase/view_bug.do;jsessionid=aecbcf919aebcf6e1cf3b31488cf8?bug_id=6346688
I suggest testing your proxy file in Chrome as well...
-rich


function FindProxyForURL(url, host){
        if (dnsDomainIs(host, ".unitan.corp") || (host == ".unitan.corp")){
                return "DIRECT";
                }
        return "PROXY 131.107.2.95:3128;";
        }

Open in new window

0
 
LVL 8

Author Closing Comment

by:Panchux
ID: 31708538
Thanks for your help, It worked ok when I set up the GP

Pancho
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
An introduction to the wonderful sport of Scam Baiting.  Learn how to help fight scammers by beating them at their own game. This great pass time helps the world, while providing an endless source of entertainment. Enjoy!
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…
Suggested Courses

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question