2
голосов
1ответов
3708 просмотров

How do I create a lighttpd proxy rule to redirect on different ports based on URL param?

I currently have a proxy.server rule in lighttpd.conf that forwards all requests of routemsg.pl to port 1530: $HTTP["url"] =~ "/routemsg.pl" { proxy.server = ( "" => ( ( "host" => "127.0.0.1", "port" => 1528) ) ) } How can I change the rule to allow the requester to pass a port pa...

0
голосов
1ответов
1352 просмотров

Posting with snoopy using proxy takes too long

Hi I have a php script which tries to do a post. I use Snoopy class and also I use proxy. I managed to post but when I use a proxy the posting is extremely slow. I mean it can take till 30 minutes. I don't want to block my script for 30 minutes waiting for a post. Any idea how could I solve this?...

0
голосов
1ответов
358 просмотров

Best way to proxy http requests in Twitter badge to avoid IE security warning?

I'm trying to use a Standard Twitter badge on a site with a members area which switches the user to https automatically. On IE 8 this results in the annoying but true "This page contains both secure and non secure items" warning. I found other threads on stackoverflow and vague suggestions on o...

1
голосов
1ответов
414 просмотров

Does stringWithContentsOfURL use the system proxy settings?

I am using the following code to fetch the contents of a web page but it needs to follow all the network rules etc as defined in the user's system prefs NSURL *url = [NSURL URLWithString:@"http://thetalkingcloud.com/static/ping_desktop_app.php?v=1.0"]; NSError *theNetworkError; NSStr...

1
голосов
2ответов
788 просмотров

Non-Transparent Proxy Caching of SSL

I asked the question before but didn't phrase it quite right. I'm using RESTful principles to build a secure web-app that uses both transport authentication/encryption and message level security. The message level security is essentially client-independent (still encrypted though), and hence thi...

0
голосов
1ответов
1666 просмотров

UDP Connection through proxy in Delphi

I have an application that connects to a udp server, and I can't seem to get it going when I am behind a proxy. Here is the code I have, which is working fine when Not behind a proxy. function TfrmMain.SendCommand(ServerName, IP: String; Port: Integer; Command: String): String; var Udp : TIdU...

1
голосов
1ответов
1345 просмотров

Retrieve Proxy IP address C#

I need to know what this proxy and in the past I used an IP webservice to get the IP. Is there was some way in C# to get the actually proxy IP address. If I could just ping somewhere and get the IP that way that would be ideal.

0
голосов
1ответов
55 просмотров

Disallowing proxies from POSTing

I want to disallow proxies and spambots from posting in my website. What is the best way to do so? I've downloaded a blacklist and my first idea was to disable each of ips in my .htaccess file, but after downloading the list, I found out that it contained almost 9 million entries. My other ide...

0
голосов
1ответов
1572 просмотров

Best method to remove session handled by Session Proxy pattern

I would like to use Proxy pattern for Session handling. In my session proxy class I have something like that: public static class SessionProxy { private const string ThemeNameSessionName = "ThemeName"; private const string PasswordExpirationDaysSessionNam = "PasswordExpirationDays"; ...

5
голосов
2ответов
14399 просмотров

Java Proxy client class that supports authentication

I'm looking for a java socks Proxy client class that supports authetication, any suggestions? The java.net.Proxy does not support authentication. Edit: I can't seem to find a way that would attach authentication data to particular proxy host via socket. Authenticator.setDefault() allows only o...

0
голосов
1ответов
188 просмотров

Nhibrnate POCO objects with relationships but no collections - Mutli tier

This is a bit of conceptual questions but I think it’s the right place to ask it. i am working with NHibernate for some time but I find it difficult to use the collections within the POCO objects 1. I think the proxy concept is nice but when you want o use it in multi tier architecture it become...

3
голосов
2ответов
877 просмотров

PHP: Is there a way to change request address?

For some reason, if I request a file using a url such as this: http://localhost/proxy.php?url=http://anintranetsite/file.jpg It works! I can get the file. But if I use, http://127.0.0.1/proxy.php?url=http://anintranetsite/file.jpg I cannot get it to work. I am not unnderstanding what ...

-1
голосов
1ответов
279 просмотров

proxy option with in my app

I wrote a small app that downloads YouTube videos but like most company's they don't allow you to view YouTube so i would like to incorporate a proxy option into my app to download the YouTube videos through a supplied proxy ip and port.

3
голосов
7ответов
36522 просмотров

407 Proxy Authentication Required

I am working on a website, in which I am retrieving XML data from an external URL, using the following code WebRequest req = WebRequest.Create("External server url"); req.Proxy = new System.Net.WebProxy("proxyUrl:8080", true); req.Proxy.Credentials = CredentialCache.DefaultCredentials; WebRespo...

3
голосов
2ответов
291 просмотров

Can a corporate proxy cache whole pages?

We are seeing some odd errors when our customers test our ASP.NET web apps. There is a cart counter on the top of every page that tells you how many items are in the shopping cart. She reports that this number is changing as she moves from one page to the next. We cannot recreate this. Is it pos...

0
голосов
2ответов
322 просмотров

Visual Studio News Channel When Using Proxy

Does anyone know how to force Visual Studio to use a proxy? My VS install never shows any news on the front page as the company I work for uses a proxy Any ideas?? This did not work - The XML addition was not correct and VS complained. What am I doing wrong?

1
голосов
2ответов
2156 просмотров

Enable proxy by editing registry in real time in c#

This is the code that I use to enable the proxy. It has worked fine on all versions of windows up until Server 2008 R2 (Windows 7 Kernal). Now it only works the fist time. I start my application and enable the proxy and that works fine. I then try disabling it using code similar to the code b...

30
голосов
2ответов
110220 просмотров

How do a send an HTTPS request through a proxy in Java?

I am trying to send a request to a server using the HttpsUrlConnection class. The server has certificate issues, so I set up a TrustManager that trusts everything, as well as a hostname verifier that is equally lenient. This manager works just fine when I make my request directly, but it doesn'...

3
голосов
2ответов
7789 просмотров

How do I configure proxy settings for Java in Solaris to handle Proxy Auto Config (PAC) scripts?

I would like to configure Java proxy settings on Solaris to use a Proxy Auto Config (PAC) scriptt. I have found instructions for making the settings on a Windows machine using the Java control panel, but am having trouble finding where/how to make the same setting changes on a Solaris Java ins...

0
голосов
1ответов
346 просмотров

Tunnel outbound HTTP over inbound socket connection

** This question might belong on SF except for one of the constraints below (not having admin rights on one machine) ** At my work I have two machines, A and B. Machine A is my primary development machine. It is completely disconnected from the corporate network. Machine B is connected and is...

0
голосов
1ответов
296 просмотров

Non server specific proxy?

I have a widget that is added to random websites. The widget needs to fill an iframe with content. I need the iframe source to be from the same domain as the website it is embedded in. To do this I want to ask the site owners to put a file in their root folder that will be used as a proxy to my ...

5
голосов
1ответов
5592 просмотров

Failed web service unit tests behind a proxy in Eclipse

I have a problem executing unit tests in Eclipse behind a proxy, as the classes used by the unit tests call some web services, which are behind a proxy. In Tomcat I can of course specify a proxy to be used, but when I run unit tests directly from Eclipse, the proxy configuration of Eclipse seems ...

2
голосов
3ответов
710 просмотров

.Net Internet Proxy

How to declare a network proxy for all windows programs to use?

96
голосов
6ответов
141776 просмотров

How to configure a HTTP proxy for svn

I want to check code from the repository http://code.sixapart.com/svn/perlbal/ . I can only access the the repository url by setting a proxy. I guess if I want to get the code from the same URL by svn I need to configure a proxy, too. So does anyone of you could tell me how to configure a HTTP pr...

1
голосов
1ответов
2477 просмотров

python multiprocessing proxy

I have a 2 processes: the first process is manager.py starts in backgroung: from multiprocessing.managers import SyncManager, BaseProxy from CompositeDict import * class CompositeDictProxy(BaseProxy): _exposed_ = ('addChild', 'setName') def addChild(self, child): return self....

3
голосов
3ответов
3763 просмотров

How to add proxy support to c# socket connection?

I have a socket app that needs to have support for SOCKS 4 and 5 proxy connections, since my users may be behind firewalls. I am using WPF and C# 3.5 SP1. I see no options in the default Socket class for proxys, do I have to roll my own? I'd prefer not to use 3rd party libs if possible - how di...

0
голосов
1ответов
2867 просмотров

how to use proxy with JSON

I have a php page called 'dataFetch.php' which sits on one webserver. On another webserver, I have a JS file which issues JSON calls to dataFetch. dataFetch connects to a database, retrieves data and puts it in a JSON format which is fed back to the calling program. In IE, this works fine. In ot...

6
голосов
3ответов
11154 просмотров

Python urllib2 HTTPS and proxy NTLM authentication

urllib2 doesn't seem to support HTTPS with proxy authentication in general, even less with NTLM authentication. Anyone knows if there is a patch somewhere for HTTPS on proxy with NTLM authentication. Regards, Laurent

0
голосов
1ответов
2499 просмотров

SharePoint 2007 RSS Viewer - ProxyAuthenticationRequired

When using the RSS Viewer webpart in SharePoint 2007, we can hit internal RSS feeds without issue but if we point to an external RSS feed we get the following error. ProtocolError occured trying to complete the request. The server returned a status code of : ProxyAuthenticationRequired and the s...

0
голосов
2ответов
1616 просмотров

WCF callback interface passing to another WCF service method on different machine

I received callback interface from machine A and stored it on machine B. I'd like to pass this callback interface (that is a proxy on machine B) to machine C. Machines A, B and C uses WCF so proper interfaces are available. The issue is when I run PassCallbackToDedicatedMachine(someCallback) ...