Page 1 of 1

proxies

Posted: Mon Sep 06, 2010 12:07 pm
by Lawliet
I've been lurking / stalking the forums for quite a while and thought I'd register...

Here's my question:
I know that you can use

Code: Select all

put url("http://www.google.com/") into fld 1
to retrieve the source code of Google but how do I use that same command but under a proxy? I'm wanting to implement a proxy feature for my application so that all connections my application does on the internet is under a proxy that the user will set.

Thank you so much!

Re: proxies

Posted: Mon Sep 06, 2010 10:28 pm
by Mark
Lawliet,

First, check if your application works with the Windows' proxy settings. If not, then see if the global httpProxy property provides a solution (search for it in the Rev dictionary). You can include a password and user name in the url for the httpProxy property. If you need to know how, I'll look it up.

Best,

Mark

Re: proxies

Posted: Tue Sep 07, 2010 12:31 pm
by Lawliet
Mark wrote:Lawliet,

First, check if your application works with the Windows' proxy settings. If not, then see if the global httpProxy property provides a solution (search for it in the Rev dictionary). You can include a password and user name in the url for the httpProxy property. If you need to know how, I'll look it up.

Best,

Mark
The httpProxy seems to be the one I'm looking for! I didn't even know / notice of its existence until you told me to look it up. I'll try using it.

I noticed that RunRev automatically detects and uses the proxy configured in Windows. Firefox however, has an option to automatically detect system proxy settings or run without proxy regardless of how the system is set. Is it possible to make my RunRev app run without a proxy even if the Windows system itself is configured to use one?

Re: proxies

Posted: Tue Sep 07, 2010 1:40 pm
by Mark
Hi Lawliet,

I'm not sure, you'll have to try this. When your Rev programme starts, does the httpProxy contain the Windows proxy settings? If so, what happens if you set it to empty?

Best,

Mark