proxy

building a 'simple' php url proxy

Hi I need to implement a simple PHP proxy in a web application I am building (Its flash based and the destination service provider doesn't allow edits to their crossdomain.xml file) Can any php gurus offer advice on the following 2 options? Also, I think, but am not sure, that I need to include some header info as well. Thanks for any ...

Generate proxy classes not used by WebMethod

I have sortof the opposite of this question: http://stackoverflow.com/questions/1900701/wsdl-generate-proxy-for-the-webmethods-but-not-the-other-dependent-classes How can one auto-generate other classes (utility classes) that are useful on the client side but are neither DataContracts nor ServiceContracts? In other words, wanting to ext...

403 Forbidden: The server understood the request....

Building an actionscript Twitter client and using OAuth for the sign in process. Having an extremely frustrating issue with the following error message. '403 Forbidden: The server understood the request, but is refusing to fulfill it.' The following 2 steps ALWAYS work after I click my 'Sign In with Twitter' button, I make it to the T...

Response 401 when using Credentials AND proxy (calling web service)

I using VB.NET 2.0. I am trying to call a web service. This web service requires authentication. So, I am able to execute the web service when using Credentials only. But, when I add a local proxy (I tried with ezProxy Manager) I get a 401 error. I need to get this working with a proxy as well. Any ideas why this may fail? ...

Delphi 2009/2010 HTTP Proxy Server Component

Hi! Can you advice me an HTTP/HTTPS proxy server component for Delphi 2009 or 2010 (i.e. it must support Unicode). I know about Indy, but maybe there are alternatives? ...

How to configure web proxy for Jing

Jing is great. But it won't start unless it can phone the mother ship. My internet access is via corporate web proxy. Jing doesn't seem to offer any way of configuring its connection to the internet. You'd think it would just use the windows internet connection settings that work for browsing, but no dice. Anyone solve this problem? May...

Nginx proxy_pass to a password protected upstream.

I want to pass a request to an upstream server. The original url is not password protected but the upstream server is. I need to inject a Basic auth username/password into the request but get errors when doing: upstream supportbackend { server username:[email protected]; } and upstream supportbackend { ser...

proxy for scale, performance (to load external content)?

I am sure answer for this question will be very subjective, I simply want to know what the options are out there (for building a proxy to load external contents). Typically I used cURL in php and pass a variable like proxy.url to fetch content. Then make an AJAX call with Javascript to populate the contents. EDIT: YQL (Yahoo Query la...

HTTP 407 proxy authentication error when calling a web service

I'm working on a .NET app that calls 3rd party web services over the internet. The services do not use SOAP, so we manually construct an XML request document, send it to the service via HTTP, and retrieve an XML response. Our code is a Windows service that is run in the context of a normal Windows domain account, and sits behind a proxy...

Getting the host and URI in PHP when request is passed via a proxy

We have a site that resides on server A with the URL eg www.blah.com, however when it is live it will be accessed at the url eg www.notblah.com which will proxy the request to server A. My question is, in PHP how does one properly work out the host and URI when the request is passed via a proxy? $_SERVER['host'] and $_SERVER['uri'] give...

Can a URL really be considered to be the only key for an HTTP response? - Part 2

I am not sure how this fits into Stack Overflow's moderation guidelines, but I did not at the time of writing http://stackoverflow.com/questions/2132716/can-an-url-really-be-considered-to-be-the-only-key-for-a-http-response have this particular case in mind, and so decided to continue with this one. The old story: say one has a site whe...

How to generate client-side code for multiple WCF services with shared types

I have multiple WCF services that share some data contracts and need to generate client-side code using svcutil.exe. I've run into errors using two most obvious ways to do this and need some help. But first, here are the services: [ServiceContract( Namespace = "http://www.me.com/services/" )] public interface IFooService { [Operati...

C#: Simulate inheritance using just an interface and an instance of its implementation - is it possible?

I want to simulate derivation from a base class (which is unaccessible) using just an interface and an instance of the base class (as opposed to just deriving directly from the base class). Let me try to explain better: I have an exposed interface and a (hidden) class implementation for it. In another module, I create a 2nd implementat...

Using a proxy to access the Weblogic Administration server

We have set up where the Weblogic admin server is on port 9002, but all access to the system can only come on port 80. The application itself runs on some other ports, and I've successfully proxied the relevant URLs from port 80 to Weblogic using the Weblogic Apache proxy plugin. However, this doesn't work for the Weblogic Admin consol...

nginx as a reverse proxy to limit http verb access

So I've got an app that uses CouchDB as the backend. Couch doesn't really have it's security/user model in place yet, and by default anyone can do anything (including deleting records and even the entire database). But, if we limit access to only GET requests we're much safer. I was hoping I could put nginx out front as a reverse proxy,...

How to get WinInet's proxy settings quickly (without network dependency)

How can I quickly retrieve Internet Explorer's proxy settings from C++? The windows function WinHTTPGetIEProxyConfigForCurrentUser() gives me exactly what I want... The problem with WinHTTPGetIEProxyConfigForCurrentUser() is it is running unacceptably slowly on some of my user's systems (they are running Windows 7). For these users, th...

why http proxy is host+port

In IE when I configure http proxy I need to give host+port and not full url. Why isn't it a normal url? How to configure if the proxy uses https? ...

Prevent Silverlight xap from being cached by proxy server

The company I work for has proxies/WAN accelerators between our international sites to cache Intranet web content. I have a Silverlight application being hosted on a server at one location, but being accessed by clients in another location. When the users access the web page hosting the Silverlight app, they get the stale xap file bein...

Ipv6 Packet Rewriting and Caching

I have a router running Linux that acts as the central gateway to the Internet for a network of embedded devices that use IPv6 to communicate. I would like to intercept, inspect, and rewrite every packet that goes in and out from the Internet to this subnetwork. The reason I need to do this is that I want to create a transparent (to both...

How to find out when WinInet proxy setting have changed

Is there any windows API to register a callback for when the WinInet proxy settings have changed? ...