Solved

Redirect user-chosen URLs to proxy server

Posted on 2007-11-28
9
901 Views
Last Modified: 2008-02-01
Hi,

I need to redirect a few URLs to our local proxy server as they can not be displayed without proxy server. Is there any way, where you can specify this in xp?
0
Comment
Question by:PeterVindriis
  • 5
  • 4
9 Comments
 
LVL 5

Expert Comment

by:pavaneeshkumar
ID: 20364371
0
 

Author Comment

by:PeterVindriis
ID: 20364409
Thanks,

But we haven't got an ISA server. We have to use a third party proxy server, where we have no access at all, in order to access to certain sites what we use on daily basis.
Basically there is a proxy pac file on that system but with IE7 option "Use automatic configuration script" does not work at all. So I need to have some form of a script which will redirect certain URLs to proxy server and others not.

Thanks
0
 
LVL 5

Expert Comment

by:pavaneeshkumar
ID: 20364466
it doesn't accept some time
immediatly the automatic configuration as do Firefox, MSIE needs
again to re setup his internet connection, so from MSIE setup:

tools-->internet options-->connections-->setup--> wizard new internet
connections (yes again)

It will rewrite the old configuration and so will work with Proxy.pac
0
 

Author Comment

by:PeterVindriis
ID: 20368369
No, unfortunatelly this doesn't solved it. For some wierd reason it does not take the pac file. I have tried to uninstall IE 7 but without any difference.
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 5

Expert Comment

by:pavaneeshkumar
ID: 20371059
i check on my machine using IE7 it works.
post the path of pac file & content.
0
 
LVL 5

Expert Comment

by:pavaneeshkumar
ID: 20371064
also confirm the proxy server in use.
0
 

Author Comment

by:PeterVindriis
ID: 20372251
i have four machines using this pac file and proxy server. Two of them are allright (they run old IE6) but remaining 2 with IE 7 are not working.
0
 
LVL 5

Accepted Solution

by:
pavaneeshkumar earned 500 total points
ID: 20372283
i m posting sample pac file which i tested.
function FindProxyForURL(url, host) 

{ 

 if (shExpMatch(url, "http://mynet.com*")) {

          return "DIRECT";

        }
 

 if (shExpMatch(url, "172.16.*")) {

          return "DIRECT";

        } 

  return "PROXY myproxy:80";

}

Open in new window

0
 

Author Comment

by:PeterVindriis
ID: 20375739
Thanks.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In the world of WAN, QoS is a pretty important topic for most, if not all, networks. Some WAN technologies have QoS mechanisms built in, but others, such as some L2 WAN's, don't have QoS control in the provider cloud.
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

707 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now