Solved

Redirect user-chosen URLs to proxy server

Posted on 2007-11-28
9
903 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
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
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

Why spend so long doing email signature updates?

Do you spend loads of your time carrying out email signature updates? Not very interesting are they? Don’t let signature updates get you down. Let Exclaimer Cloud - Signatures for Office 365 make managing email signatures a breeze.

Question has a verified solution.

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

The use of stolen credentials is a hot commodity this year allowing threat actors to move laterally within the network in order to avoid breach detection.
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.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

914 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

22 Experts available now in Live!

Get 1:1 Help Now