proxy

Apache as Reverse Proxy for CouchDB

I'm thinking of a web app that uses CouchDB extensively, to the point where there would be great gains from serving with the native erlang HTTP API as much as possible. Can you configure Apache as a reverse proxy to allow outside GETs to be proxied directly to CouchDB, whereas PUT/POST are sent to the application internal logic (for san...

Create a SOCKS Proxy that does nothing special

I am trying to create a SOCKS proxy in C++ that runs as a background process on localhost. If the user's browser is configured to use the proxy, I want all HTTP requests to be passed along through the normal TCP/IP stack. i.e. The browser will behave exactly as it normally would. Eventually I will add another layer which will check to ...

How do I configure WWW::Mechanize to work through a proxy?

I sit behind a proxy and have HTTP and WWW::Mechanize working OK locally. But advice || pointers as to how to get through a proxy please. Regards Ian ...

Are there any tools to build ASMX proxies from server side assemblies?

We have a set of assemblies which implement web services operations. To build the client proxies, we first build and deploy the web services (assemblies and ASMX files) on the server. Then we use wsdl.exe to point to the ASMX endpoints and generate the classes for the client proxies. I've seen that it is possible to create the proxies...

Method to get the client ip address

I'm developing an application where it seems likely that people will attempt to hide what their client IP address is behind a proxy server. Is there a unified way to get what the actual client IP Address is behind the proxy? Looking at the Ruby docs, it explicitly states that request.remote_ip and request.remote_addr both would ...

Checking existence of lazy loaded child without getting/loading in Fluent NHibernate

This should be easy, but I can't seem to figure it out... How can I check if a child on an entity exists without actually getting or fetching it? The child is lazy loaded right now.. so I have two entities: class A { public virtual int Id { get; set; } public virtual B Child { get; set; } } class B { public virtual int Id ...

Flex reverse proxy issues

I'm currently working on setting up a reverse proxy for testing a flex-based web application. The current setup is using mod_proxy (with mod_proxy_http) to reverse proxy to another host. Everything seems to work except for requests made from the flash player, which result in an error message that says "Security error accessing url". ...

Is persistent HTTP with HTTP/1.0 possible?

I am using a 3G UMTS connection. I am trying to implement HTTP tunneling to a server of mine which listens on port 80 (this is done in order to bypass client's firewall). The problem is that the ISP's proxy server supports HTTP/1.0 which doesn't support persistent HTTP connection. As a result, after one http request/response iteration...

Java 6 NTLM proxy authentication and HTTPS - has anyone got it to work?

I have a Java application (not an applet) that needs to access a web service. Proxies for the web service have been generated with JAX-WS, and seem to work fine. In one scenario it needs to talk through a web proxy server (actually Squid 3.0), which is set to require NTLM authentication. Running on Sun's JRE 1.6.0_14, everything works f...

WCF use original domain object instead of proxy generated

I have a Client website, a WCF service and a library of domain objects (.cproj). I want the client to use my library of domain objects directly, not the proxy generated version of the domain objects. Is there a simple way of doing this? ...

How to change the BaseUrl on a Hudson behind a Proxy?

How can i change the BaseUrl on a Hudson behind a Proxy? I'm running a Hudson installation behind a proxy. The problem is, that any url (email, jabber, tray app) in the web application is set to the local proxy and not to the virtual host. How can i fix that, is there any environment variable? I have just found "Hudson Url" for email'...

What is a good proxy for me to install and test my Windows Service ?

The deployment requirements for my app (a windows service written in C#) state the presence of a Proxy server. From my interaction with the person who will install my app: 1. His company blocks access to internet via the proxy 2. He needs to provide the path to the proxy script in his IE Config. 3. He also needs to input a user-name/pa...

Hosting a WCF service behind a proxy, firewall

We have created a WCF using net.tcp with an anticipation that the service can work in a firewall that would accept only HTTP port. The client behind firewall can also access it. Do we need to host the service on a static, public IP so that any client from any network can conect to it? Ideally, we would like to host the service on a no...

file_get_contents behind a proxy?

At work we have to use a proxy to basically access port 80 for example, we have our own custom logins for each user. My temporary workaround is using curl to basically login as myself through a proxy and access the external data I need. Is there some sort of advanced php setting I can set so that internally whenever it tries to invoke ...

How do I switch this Proxy to use Proxy-Authentication?

I'm trying to modify my simple Twisted web proxy to use "Proxy-Authentication" (username/password) instead of the current IP based authentication. Problem is, I'm new to Twisted and don't even know where to start. Here is my Factory Class. class ProxyFactory(http.HTTPFactory): def __init__(self, ip, internal_ips): http.H...

How to use mozilla Rhino behind firewall?

Normally if I run the following the following command in the rhino shell, mbp001:rhino1_7R2 user$ java -jar js.jar Rhino 1.7 release 2 2009 03 22 js> readUrl("http://www.google.com") It will return the resultant html markups. However, if I runs it behind a firewall, it will throw an exception (because it is unable to reach the host)...

Location Aware Proxy Application

Anyone know application like network location(mac) for linux,windows.If not i am thinking of developing one for windows or linux.Application knows the location of user home,office etc.. then configure proxy according to the location its a handy tool actually.Any idea how to start that? ...

Setting proxy in java, URL vs System.setProperty ?

I made an java app that gets a response time from the internet. I'm working from behind a proxy, now I have this problem that I can't figure out, here's a snipped of my code URL website = new URL("http", proxy, Integer.parseInt(proxyPort), websiteUrl) BufferedReader in = new BufferedReader(new InputStreamReader(website.openStream())); l...

Will Changing the Port of SVN Create the Need to Re-Checkout Projects?

Hello, NOTE: I am aware of the SVN relocate switch, I just need to know if it will be necessary as we don't have a "test" svn server setup. We need to change the port on which SVN runs on. It is obvious that the scripts, clients, etc connecting to this new non-standard port will need to update their connections strings. A concern cam...

How do I process Proxy Digg JSON for use with jQuery?

I'm trying to deal with: "Requests made from Javascript running on your web pages must be proxied to avoid same-origin policy conflicts." I know how to work with the JSON once I've got it. But aside from copy-pasting the JSON results via my browser, I don't know how to localize it for use. ...