Add Exception in internet explorer for proxy by script

Posted on 2010-04-06
Medium Priority
Last Modified: 2013-12-08
when I connect to wireless network.. authentication page will appear to input the username and password...this page will appear  if I except it in proxy configuration from IE, otherwise it will not..
I used wpad to autoconfiguraton..so i can't add the exception manually...also i have a huge no. of pcs which is mean that i can't do it manually..

so..how can i except the url of web authenticaton by script or by adding any code to wpad.dat file???

thanx experts
Question by:yousef_ad
LVL 12

Accepted Solution

jostrander earned 2000 total points
ID: 29928487
in your pac (wpad.dat) file, you could add something like:

      if (shExpMatch(host, "yourhostname")) {
           return "DIRECT";


      if (isInNet(myIpAddress(), "", "")) {
            return "DIRECT";

some reference:

Hope that helps,

Author Closing Comment

ID: 31711253
thanx alot

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
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…
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.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

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