Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Redirect user-chosen URLs to proxy server

Posted on 2007-11-28
9
Medium Priority
?
910 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
This article is about my experience upgrading my consulting machine to Windows 10 Version 1709 (The Fall 2017 Creator Update)
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

885 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