reverse-proxy

Templating+scripting reverse proxy?

Thinking through an idea, wanted to get feedback/suggestions: Having had great success with url rewriting and nginx, I'm now thinking of a more capable reverse proxy/router that would do the following: Map requests to handlers based on regex matching (ala Django) Certain requests would simply be routed to backend servers - eg. static ...

Apache 2.2 reverse proxy not working as expected?

I’ve configure my apache accordingly from what I’ve read in the apache 2.2 manual. Taking the following as an example of my configuration. ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass "/home/kwokfu/sandbox" "http://localhost:8080/sandbox" ProxyPassReverse "/home/kwokfu/sandbox" "http://localhost:8...

Apache: reverse proxy to process PHP from another server

I have the following setup: Plain-Server: Delivering php-files as plain text Proxy-Server: Asking the Plain-Server for the php file and parsing it. Now my question: How do I configure the Proxy-Server (a fully configurable apache 2.2 with PHP 5.3) to interpret the plain php files from Plain-Server? Example: Given a small php script ...

IIS cache with PURGE support

On Unix, I normally deploy nginx in front of Varnish in front of my application server. Both nginx and Varnish are acting as reverse proxies here. Varnish maintains a cache and supports things like If-Modified-Since, Cache-Control response headers and PURGE requests from the application. nginx is good at receiving a lot of connections. I...

IIS7 and ARR as reverse proxy for Subversion

I am using IIS7 and the Application Request Routing extension to act as a reverse proxy to Subversion running on Apache. The proxy works fine and I am able to explore the server, and even perform a "check out". However, I cannot browse to files that would normally be forbidden by ASP.NET - for example, .cs, .csproj, and so on. Files AS...

IIS 7 Reverse Proxy With SSL ?

Which IIS 7 ISAPI Filter can help me doing that : http://site1.domain1.com:80 ==> Internal IIS Server 1 (HTTP, TCP 80) https://site2.domain1.com:443 ==> Internal IIS Server 1 (HTTPS, TCP 443) http://site1.domain2.com:80 ==> Internal IIS Server 2 (HTTP, TCP 80) http://site2.domain2.com:443 ==> Internal IIS Server 2 (HTTPS, TCP 443) h...

Problem with GWT behind a reverse proxy - either nginx or apache

I'm having this problem with GWT when it's behind a reverse proxy. The backend app is deployed within a context - let's call it /context. The GWT app works fine when I hit it directly: http://host:8080/context/ I can configure a reverse proxy in front it it. Here's my nginx example: upstream backend { server 127.0.0.1:8080; } ...

Using Tomcats(in an apache-tomcat cluster) as reverse-proxies to apache servers behind

I'm writing a small web service(like a content server) to search and serve content. Basically it has 2 parts - one dynamic part performing client authentication and providing search functionality over the content. The second part involves serving static content to the authenticated client. What can be a good architecture for the above s...

Apache 2.2 reverse proxy not working

Hi, I am trying to set up my apache (version 2.2.3) to work as reverse proxy. I configured apache on public server as it is described at http://www.askapache.com/htaccess/reverse-proxy-apache.html LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_http_module modules/mod_proxy_http.so LoadModule headers_module module...

Reverse Proxy with Apache2 don't work

Hi, I'm using Apache/2.2.8 (Ubuntu) and have a problem. There is a file /etc/apache2/sites-available/backuppc with the following: <VirtualHost *> ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /backuppc http://192.168.134.59:80/backuppc ProxyPassReverse /backuppc http://192.168.134.59:80/backuppc ...

Reverse Proxy in CakePHP?

I've got a CakePHP application, and the following directives in my httpd.conf ProxyRequests off ProxyPass /forum/ http://somesite.com/phpbb3 ProxyPass /gallery/ http://someothersite.com/gallery3 <Location /forum/> ProxyPassReverse / </Location> <Location /gallery/> ProxyPassReverse / </Location> Without CakePHP this wo...

How to set up an Apache 2 reverse proxy with dynamic backend servers?

I would like to set up Apache 2 as a reverse proxy using name-based virtual hosts to decide how requests are routed to back-end servers. Simple enough. The catch is that these back-end servers may be added and removed in a dynamic fashion. My first idea was to programmatically re-write an Apache configuration file and call apachectl gra...

How do you make a CMS and existing asp.net applications live together peacefully in IIS?

Note: I originally posted this on ServerFault, but I haven't gotten any responses at all. Since it looks like I'm on track to get the Tumbleweed badge over there, I figured I would try here also. Our existing public website consists of a mish-mash of asp.net pages with mostly static content and some real web applications that are set ...

Apache reverse proxy authentication via PHP

I have two apache servers set up. One is public facing, the other is behind a firewall. The one behind the firewall is used to serve up content (vids, pics, etc). I've set up a reverse proxy so that any requests to http://mysite.com/content/ actually go to the server inside my firewall. See my serverfault question. My site uses PHP ...

how to process long-running requests in python workers?

Hi, I have a python (well, it's php now but we're rewriting) function that takes some parameters (A and B) and compute some results (finds best path from A to B in a graph, graph is read-only), in typical scenario one call takes 0.1s to 0.9s to complete. This function is accessed by users as a simple REST web-service (GET bestpath.php?f...

Suggestion/Opinion on Reverse IP look up for Anonymour proxies

Sometimes it is not possible to find if user is using Anonymous proxy. So i came up with some ideas: Get IP of client, do reverse check and check if it returns a hostname and also get number of any websites hosted on same ip then it could be a proxy connection assuming it is website hosting provider ip. Store ips of hosting providers w...

How can I ensure closing all connection in loadbalancer when something fails or hangs?

I'm trying to write a simple load-balancer. It works ok till one of servers (BalanceServer) doesn't close connection then... Client (ReverseProxy) disconnects but the connection in with BalanceServer stays open. I tried to add callback (#3) to ReverseProxy.connectionLost to close the connection with one of the servers as I do with closin...

Socket Proxy Server

Suppose Client A connects though TCP/IP Sockets to Server B Is it possible to create a Proxy Like Server thing to do this: Client A Connects to Proxy X ; And tried to authenticate to the server (sends authentication data) ; Proxy X receives those data and sends them to Server B and gets the response from the Server B and returns the res...

Perlbal Reproxy with Remote Host

why would perlbal's reproxying give me a 503 for any remote url? X-REPROXY-URL: /path/to/a/local/file.jpg = working X-REPROXy-URL: http://a-public-file-in-an-s3-bucket.jpg = HTTP 503 my perlbal conf looks like: CREATE POOL test_pool POOL test_pool ADD 127.0.0.1:8888 POOL test_pool ADD 127.0.0.1:8889 CREATE SERVICE balancer ...

Get original HOST address when the ASP.NET server is behind an ISA server as a reverse proxy

I'd like to know how could I get the original HOST IP when the web server is behind an ISA server acting as a reverse proxy. Other reverse proxies -like squid- add the "X_FORWARDED_FOR" value to the request header, but ISA server doesn't. Thanks ...