Module for the apache webserver with which apache can be used as proxy server. With this module apache can act as a regular proxy, or as a reverse proxy for upstream servers.

learn more… | top users | synonyms

2
votes
0answers
196 views

Efficient setup for fronting application servers with Apache

I have to front various application servers (in the beginning this will be JBoss 6, Tomcat 8 standalone and Tomcat 8 embedded into spring boot 1.2 apps) with an Apache 2.4. Because of this I decided ...
2
votes
0answers
58 views

Apache reverse proxy location based access control not working

I'm running a small web server with Ubuntu 12.05.5 LTS and Apache 2.2.22 and ran into this problem recently: For an IIS server on a virtual machine I have the following reverse proxy config: ...
2
votes
0answers
655 views

Apache 2.2: RewriteMap, ProxyPass interpolation and Keep-Alive

I have an Apache httpd used as a SSL reverse proxy frontend for a lot of backends. I compute the name of the backend from the path given by the user. e.g: https://myhostname.com/myaccount translates ...
2
votes
0answers
1k views

Apache mod_proxy to ssl backend not working properly

I'm getting the following errors when trying to do a proxy to an SSL backend server: [Thu Jan 03 14:44:26 2013] [error] (502)Unknown error 502: proxy: pass request body failed to 192.168.1.10:8443 ...
2
votes
0answers
164 views

Does mod_proxy support HTML5 Server Side Events / EventSource?

I am stuck with apache2. I've read that mod_proxy doesn't support websockets. Does it support EventSource? https://issues.apache.org/bugzilla/show_bug.cgi?id=47485
2
votes
0answers
771 views

Does Apache2 Configured as ReverseProxy Hide Cookies Set by Backend Servers?

I use Apache 2.2.16 as Reverse Proxy. For a static website, I don't have any issues. However, when began to use cookies, I've noticed that the browser is receiving a different cookie than what was ...
2
votes
0answers
520 views

Changing a set-cookie header using mod_rewrite/mod_proxy

I have a bunch of cgi scripts, which are served using HTTPS. They can only be reached on the intranet, not from the outside. They set a cookie with the attribute 'Secure', so that it can only be send ...
2
votes
0answers
230 views

mod_rewrite: internal rewrite to (fake) clean URL not possible.

This is more a why question. I'm using a CMS that handles clean URLs via mod_rewrite out of the box. Website has a section /accessories that now has to be renamed to /store. Being on lazy mode, I ...
2
votes
0answers
816 views

Making mod_proxy_http send back response asynchronously (w/o 100 Continue)

A servlet engine (Jetty) is running behind an Apache Httpd server, forwarded using mod_proxy_http. This is running a small servlet that accepts PUT requests and is authenticated using HTTP Basic ...
2
votes
0answers
351 views

Add a header depending on the proxied response code with apache

I use Apache 2.2 with mod_proxy to some 3rd party HTTP server. As it doesn't send any Cache-Control header, I want to add one of 1 day for response code 200, 5 min for 404 and 0 for any other ...
1
vote
0answers
6 views

Enable/allow Proxy From Different Server With SSL

I have a node.js app on server A (http://sub.domainA). My customer wants to use this solution without redirecting. The configuration in .htaccess for the node.js service on server A looks like this. ...
1
vote
0answers
139 views

Nginx always gives “502 Bad Gateway”

I am using axis2 web server. I want to access it through Nginx. Here is my nginx configs server { listen 443; server_name malintha.com; ssl on; ssl_certificate ...
1
vote
0answers
174 views

Lighttpd and Discourse (Docker): configuring mod_proxy

I have trouble configuring Lighttpd to serve the various services hosted on my server. Lighttpd acts as a front, and I have several DNS records, each for a different subdomain, redirecting to the same ...
1
vote
0answers
94 views

Apache mod_proxy cuts off URLs at spaces

I have the following proxy rule on www.example.com/.htaccess RewriteEngine On RewriteRule ^(.*)$ http://www2.example.com/$1 [P] Requests for ...
1
vote
0answers
74 views

Apache2 HTMLURLMap messes with AJAX requests

I need to proxy a web application from oldname.my.net to newname.my.net For that I use apache with the proxy module like this # PROXY TO INTERNAL SERVER ProxyPreserveHost On RequestHeader ...
1
vote
0answers
422 views

Apache Reverse Proxy Java Application Server CLOSE_WAIT Connections

I've got Apache setup as a reverse proxy for a Java Application server (GlassFish) and I noticed there are about 100 connections in the state CLOSE_WAIT even on an idle development system: sudo ...
1
vote
0answers
288 views

Apache mod_proxy not closing back-end sockets fast enough

I'm using Apache + mod_proxy for providing a chat application with Ejabberd. It's using Bosh (XMPP over HTTP). The issue is when a user closes its browser, Apache keeps the connection open with the ...
1
vote
0answers
259 views

mod_proxy with ProxyRemote absolute URL - preserve relative URL

ProxyPass / https://example.com/ ProxyRemote https://example.com/ http://proxy:8080 The setup works through the proxy, but using mod_firehose I see mod_proxy modifying the url to include the full ...
1
vote
0answers
308 views

Apache2 mod_proxy_fcgi closes a connection after each request

I set up mod_proxy_fcgi do go with apache and php-fpm. If I read the FCGI spec correctly, the typical flow for the communication between a server is to keep the connections between the web server and ...
1
vote
0answers
129 views

mod_proxy when no file exists for request

I have a lighttpd server where static files will be generated by a NodeJS process. The Node server will be running express on port 3000 (same computer). I would like lighttpd to serve the static ...
1
vote
0answers
51 views

Proxy requests using Apache transparently

I am using Apache to forward an URL to another URL using mod_proxy transparently. To illustrate what I am doing, this is my Apache configuration file: <VirtualHost *:80> ServerName ...
1
vote
0answers
214 views

set up apache http server in windows as proxy to access another domain

I know this should be very basic and simple in theory, but I need to complete this task, I'm new to this and for some reason I can't find a suitable example that works for me. I am running apache 2.2 ...
1
vote
0answers
2k views

“ajp_read_header: ajp_ilink_receive failed”

We have Apache 2.2.24 in front of Tomcat 7.0.33. We're using AJP connectors with APR/native configured. I recently noticed a number of 500 errors in the Apache access logs for a small proportion ...
1
vote
0answers
3k views

How to reverse proxy specific ports to a different server behind a firewall using Apache mod_proxy

I have two Web severs, one Apache 2 and the other IIS 8, and both are on a LAN behind a firewall. I have ports 80, 443, and 8080-8088 open on the firewall. I have an externally hosted DNS A record ...
1
vote
0answers
237 views

Apache mod_proxy + xinetd redirection to firewalled host + expecting JNLP back to client

My goal is fairly typical, so I am hoping that someone else may have implemented a similar setup before. External client Foo will be connecting to Bar, which is a server with an appropriate firewall ...
1
vote
0answers
492 views

apache proxyremote and http

ProxyRemote syntax is: <remote-server> = <protocol>://<hostname>[:port] So, I have to put protocol before hostname. But my proxy server is x.y.z.n:1234 (without http) And when I ...
1
vote
0answers
242 views

Prioritization of mod_proxy_html ProxyHTMLURLMap rules

I am implementing a reverse proxy with the following configuration: ProxyPass /home/ http://serverA.com/ ProxyPassReverse /home/ http://serverA.com/ <Location /home/> ProxyPassReverse / ...
1
vote
0answers
1k views

How mod_cache working with “must-revalidate” and “max-age”?

Quick question before I will explain my flow: Сan mod_cache perform revalidate with if-none-match only if max-age is expired in case if it configured in reverse proxy mode? My goal is to reduce a ...
1
vote
0answers
180 views

Apache: Setting up a reverse proxy configuration with SSL with url rewriting

There is a host: secure.foo.com that exposes a webservice using https I want to create a reverse proxy using Apache that maps a local http port on a server internal.bar.com to the https service ...
1
vote
0answers
558 views

Apache 2 proxy for Tomcat 7

Following the how-to, I wanted to make a proxy for traffic to the address /app to be processed by Tomcat 7. I added this to my httpd.conf: LoadModule proxy_module {path-to-modules}/mod_proxy.so ...
1
vote
0answers
80 views

ReverseProxy - send some URLs to another server for preprocessing

There is an existing application hosted on Apache. I want to send some urls(Post Forms) to another server(not apache - just a program) for some preprocessing. This is how this is organized 1) I have ...
1
vote
0answers
440 views

How to handle serlvet login redirects which cross reverse proxy virtual host boundary

I'm trying to setup the GlassFish application server behind an Apache reverse proxy. I've got it working with both port 80 and 443, but the problem is the transition between the two that occurs when ...
1
vote
0answers
78 views

proxying on localhost

2 Servers: Server 1 on 1 public IP, Server 2 on Local LAN. I have this working with a proxy on Server1 right now. But I need to add one localhost on Server2 which is NOT a recognized domain. So I am ...
1
vote
0answers
497 views

Long running process times out through an apache proxy but not when bypassing the proxy

So I have this tomcat based webapp. Part of this webapp lets you upload a file that then is checked against a backend database. This process takes a long time, up to 15 minutes in some cases. Now ...
1
vote
0answers
550 views

(apache `mod_proxy`) reverse proxy - how to reuse TLS sessions to origin server

I have set up a reverse proxy which can be accessed by http only, client requests are translated to http or https communication towards the origin server. Configuration is as follows: ...
1
vote
0answers
233 views

Apache mod_proxy site alias, alternative domains

Guys! Having a problem with apache mod_proxy, hoping someone can help Preface: We need a new domain (http://section1.info) to direct users to (http://domain.info/?q=section1) and maintain ...
1
vote
0answers
733 views

mod_proxy_balancer with JBoss get many CLOSE_WAIT

We have a small web cluster for servering about max 400 concurrent user each day. We using : Apache 2.2.14 mod_proxy mod_proxy_httpd mod_proxy_balancer JBoss 4.2.2 GA Firstly we tried AJP and ...
1
vote
0answers
390 views

lighttpd 1.5 reverse-proxy to trac

I'm running lighttpd 1.5 freshly compiled off svn. I have a trac daemon listening on port 8000 and I want to proxy all requests matching ^http://xx.xx.xx.xx/trac(*.) to that daemon. Here is what it ...
1
vote
0answers
404 views

Tomcat fails on first request in combination with jsvc

I have a web application where the first request may take a few seconds as some singletons are initialised. I've used the mod_proxy and jsvc construction mentioned in this question and described on ...
0
votes
0answers
36 views

proxy subdomain with Apache

I have setup ghost on my Digital Ocean server and it works for localhost:2368, but I am having trouble setting it up so that when I enter blog.mydomain.com it will redirect to local localhost:2368. I ...
0
votes
0answers
11 views

Apache mod_rewrite with proxy to HTTPS from HTTPS host

I am trying to use the mod_proxy to rewrite internal one URL to another in this way: RewriteCond %{HTTP_HOST} ^www\.domain\.de$ RewriteCond %{SERVER_PORT} ^443 RewriteRule ^blog/(.*)$ ...
0
votes
0answers
18 views

Apache mod_proxy redirect with absolute domain

I am using the example from apache to rewrite a url with proxy: RewriteRule ^widget/(.*)$ http://product.example.com/widget/$1 [P] I want to set a absolute domain for this: RewriteRule ...
0
votes
0answers
40 views

Dynamically Adding BalancerMembers to Proxy

Running Apache 2.4 I would like to be able to dynamically add BalanaceMembers via API to a balancer group in the proxy_balancer module. There are hints that this is possible. The documentation for ...
0
votes
0answers
9 views

IIS - 1 website, multple domains, wildcard ssl or another method?

First of all I am a bit of a beginner but I am hopefully using the right terminology below. A lot of this will be guess work. We use a CMS which has a master portal (with many sub-portals) which is ...
0
votes
0answers
64 views

Apache 2.2.2 (Debian) mod_rewrite with mod_proxy removes the query string

I try to setup a reverse proxy configuration based on query string rewriting with Apache2, mod_rewrite, mod_proxy (and also mod_auth_cas, but I don't think it deals with my problem). The request flow ...
0
votes
0answers
40 views

How can I handle redirects with mod_proxy?

I am trying to set up a simple reverse proxy with Apache's mod_proxy. server1.domain.com is the proxy, while server2.domain.com is the backend server and server3.domain.com another backend server. I ...
0
votes
0answers
19 views

mod_proxy_html rewriting html tag

I am having an issue with mod_proxy_html for apache and a page not displaying correctly. The setup is a Scientific Linux 6.5 x86_64 server running httpd 2.2.15 and proxying to a back-end web server ...
0
votes
0answers
64 views

Apache HTTPD accept requests different destination IP and HTTP Host header

We've built and brought up a new version of a web application. The legacy web application still exists and is still used by legacy clients. Now we want to migrate these old legacy clients to use the ...
0
votes
0answers
136 views

Creating 503 redirect using htaccess while using proxypass

I have an external server (a) that is performing a proxypass reverse to an internal server (b) IP here is my config in default-ssl <Location /> AllowOverride All ProxyPass ...
0
votes
0answers
24 views

Apache ProxyPass to Domain which Redirects

i have been struggling hard to make this working. if a user hit A.com on my local apache i want to silent proxy to B.com (ProxyPassReverse): ProxyPass / http : //B.com ProxyPassReverse / http : ...