Solved

Redirect user-chosen URLs to proxy server

Posted on 2007-11-28
9
904 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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Simulate file lock 5 31
Removing line numbers from left column in config file 7 50
paging file usage  > 95% for 30 min about 12 27
Shutdown Inactive Server- Script 4 18
Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
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…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

786 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