reverse-proxy

IIRF not working with AsP.NET PostBacks?

Hi, I have the following scenario Web server A: public on the internet, IIRF (current version) installed Web server B: not public, on the intranet, visible to A, my APS.NET web app is installed on, name is pgdbtest3 I configure IIRF so that any request targetting directory /MMS/ on server A is redirected to the corresponding one in B:...

How do I have a reverse proxy work with or without the trailing slash?

I have a apache web server that needs to reverse proxy a site. So example.com/test/ or example.com/test pull from the same other webserver. I have setup a reverse proxy for the one without the trailing slash like this: ProxyPass /test http://othersite.com/test ProxyPassReverse /testhttp://othersite.com/test But it doesn't work with ...

Should I use IIS as a trusted proxy to provide ActiveDirectory SSO for a legacy app?

I'm trying to add Active Directory single-sign-on support to an existing SOAP server. Since it is written in C++ using third party transport components, adding AD SSO doesn't appear to be easy. Therefore I am thinking to require IIS as a trusted reverse-proxy and let it do the Active Directory authentication for the SOAP server. That i...

Apache, include correct "Server" header when proxying

I got the following section in mine httpd.conf <virtualhost *> ServerName my.domain.com ProxyRequests off ProxyPass / http://192.168.1.193/ ProxyPassReverse / http://my.domain.com </virtualhost> The problem is that apache replaces the "Server" header with it's own IP address. How do I force it to use "my.domain.com" in...

Is it bad practice to select upstream servers based upon the HTTP method?

I'm wondering if it is bad practice to have a reverse proxy that selects the upstream server depending on the HTTP method used? The background is that I have an abitrary web server that handles POST requests with some logic behind. The same resources also contain static content, that can be retrieved using GET. After some benchmarking I...

Finding an HTTP proxy that will intercept static resource requests

Background I develop a web application that lives on an embedded device. In order to make dev times sane, frontend development is done using apache serving static documents, with PHP proxying out to the embedded device for specifically configured dynamic resources. This requires that we keep various server-simulation scripts hanging aro...

Cherokee rule failover

I have a Cherokee virtual host configured as follows: 1st rule: "Directory /" -> HTTP Reverse Proxy 2nd rule: "Directory /" -> uWSGI I know the second rule is useless because it's never triggered. However, the first rule seldom returns a 504 Gateway Timeout error so I was thinking of failing over the second rule, yet I don't know how...

How can I use Apache to reverse proxy a dynamic url

I want a user to be able to load a url in their browser, but not get redirected: http://example.com/abc/{var1}/{var2}/def I want the example.com apache 2.2 server to take that request, and "invisibly" and without redirect reverse proxy it to: http://other.example.com/abc/{var1}/{var2}/def I have spent hours trying different combina...

Multiple Ruby versions on one webserver?

The Ideal Using rvm, it would be awesome to be able to have multiple Rubies on one webserver, and through some sort of server configuration, be able to assign Ruby versions to different Rails/Sinatra/etc apps on a per-project basis. I am aware, from rvm's documentation, that Passenger only works with one Ruby at a time. :( The Comprom...

Should I go with Varnish instead of nginx?

I really like nginx. But recently I've found that varnish gives you an opportunity to implement smart caching revers proxy layer(with URL purging). I have a cluster of mongrels which are pretty resource-intensive so if this caching layer can remove some load from mongrels this can be a great thing. I didn't find a way to implement the ...

What's the best practice , using subdomains, archive SEO , keep the system scalable , and isolate the applications ?

We are developing a website quite similar with ebay.com and in order to upgrade/maintain it without much effort we decided to split/isolate different parts of the website like ebay does too (e.g the item page/application will be served from cgi.domain.com , signin application from signin.domain.com, shopping cart application from offer.d...

Sys.WebForms.PageRequestManagerParserErrorException: What is the difference between normal rendering and partial rendering?

Hi All I am creating a proxy server in c#. I made it working except in case of partial postbacks. During partial postback, it is throwing exception saying Message from webpage Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the respo...

htacces proxy rewrite howto

Hi, I have a bit of a problem. I have 4 domains: www.myurl.com, myurl.com, www.myurl.de, myurl.de. Now my ajax posts only work on www.myurl.com. I would like to send all requests to this url without changing the url in de adress bar. This is done by a proxy rewrite(?) but I can't manage to get this fixed and I need some help ... I wou...

Switch SSLVerifyClient within ReverseProxy context

This is a part of an Apache virtualhost configuration, the incoming request, which matches, are forwarded to the Apache Tomcat server. All clients must send a client certificate for authentication for App1, but for App2 it should be optional. SSLVerifyClient require SSLVerifyDepth 2 SSLOptions +ExportCertData +StdEnvVars ProxyRequests ...

Reverse Proxy Apache to FitNesse server

Apache/Ubuntu/Proxy What is the correct configuration to reverse proxy FitNesse from one apache web server to another server running FitNesse through Jetty? This is an all Ubuntu/Lucid/Apache setup. I have tried mod_proxy and mod_proxy_html and I get back the text, but none of the CSS and formatting come through. My setup is something...

Why does nginx reverse proxy of ssl to apache causes endless redirects?

I have set up nginx to handle SSL requests and send them to Apache/mod_python as described in http://code.google.com/p/mango-py/wiki/SSLRedirect. I added the django Middleware. I do proxy_set_header in nginx as described in http://yuji.wordpress.com/2008/08/15/django-nginx-making-ssl-work-on-django-behind-a-reverse-proxy/. This is intend...

Switching User Contexts in Visual Studio and TFS Source Control

While developing ASP.net applications on a Windows 7 machine in Visual Studio. Sometimes I need to do testing for Internet Explorer 6 compatibility. The way I test IE 6 is I have virtual machine running on my local machine. The easiest way I could figure out to access development on my parent development machine was to switch my ASP.ne...

How to implement OpenDNS style proxying of web traffic

I have a requirement that I believe may be impossible and wanted to confirm this with experts in this community. A client wants us to configure a DNS server to point all non-whitelisted domains to an IP address of a server on the internet. This server should forward / redirect all non-http traffic to an IP address associated with the re...

SOP issue behind reverse proxy

I've spent the last 5 months developing a gwt app, and it's now become time for third party people to start using it. In preparation for this one of them has set up my app behind a reverse proxy, and this immediately resulted in problems with the browser's same origin policy. I guess there's a problem in the response headers, but I can't...

Doing SSL with Reverse Proxy

We have one server serving Django content using mod_wsgi and one server in our DMZ reverse proxying all users. The only way to get to the content is via the reverse proxy and we want some content to be secure and some not to be. Is the best way to set it up having SSL on both servers, or is that a waste? Should I move all the encryption...