Redirect user-chosen URLs to proxy server

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?
PeterVindriisAsked:
Who is Participating?
 
pavaneeshkumarConnect With a Mentor Commented:
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
 
pavaneeshkumarCommented:
0
 
PeterVindriisAuthor Commented:
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
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

 
pavaneeshkumarCommented:
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
 
PeterVindriisAuthor Commented:
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
 
pavaneeshkumarCommented:
i check on my machine using IE7 it works.
post the path of pac file & content.
0
 
pavaneeshkumarCommented:
also confirm the proxy server in use.
0
 
PeterVindriisAuthor Commented:
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
 
PeterVindriisAuthor Commented:
Thanks.
0
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.

All Courses

From novice to tech pro — start learning today.