Solved

Redirect user-chosen URLs to proxy server

Posted on 2007-11-28
9
906 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
Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

 

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
 
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Learn how to PXE Boot both BIOS & UEFI machines with DHCP Policies and Custom Vendor Classes
This article summaries thoughts and ideas from two years of sustained use. It provides good reasoning to make the jump to Windows 10.
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…
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…

756 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