using ppm thru a proxy

Posted by Yvetteb on 2006-10-13 06:32
Forums: PPM | OS: Windows XP Pro

I'm unable to install a package thru ppm because I have to go thru proxy.
How do I list my proxy server in environment variables?

Yvetteb

kevinw
ActiveState Staff
Fri, 2006-10-13 13:06

You can find the relevant documentation including a few examples here:

http://aspn.activestate.com/ASPN/docs/ActivePerl/5.8/faq/ActivePerl-faq2.html#ppm_and_proxies

Cheers,

kjw

m_kisacanin@yah... | Thu, 2013-04-25 12:20

In some Proxy implementations (probably in most cases when Proxy is using pass through Windows Domain (AD) authentication), described method (adding http_proxy variable that includes userID:password@proxyURL:port) won't help much.

After struggling a while, I successfully tested the following approach:

1) Download and install popular tool Fiddler (www.fiddler2.com). I'd recommend having this tool regardless of PPM vs Proxy problem !!!

Fiddler acts as your personal proxy (among many other great thinks it does), and inherits your corporate Proxy configuration from the browser's setting and OS.

Fiddler will streamline all authentication that PPM is failing to do. Once installed, it will present itself on the local loop back IP (127.0.0.1) and (usually) on port 8888. All this will be obvious once you run Fiddler.

With above done, configure PPM to use Fiddler as a proxy (set http_proxy=http"//127.0.0.1:8888 from command prompt), and you should be done. If it fails, make sure you start your browser first (IE, FireFox, ...) and let them initiate authentication to your corp proxy. PPM will inherit the authentication session and PPM won't need to authenticate.

A bit more work, but works like a charm.

Miroslav

kiran009 | Wed, 2013-08-21 23:14

Works well for my requirement. Thanks