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.
Questions tagged [mod-proxy]
689 questions
2
votes
2 answers
Can I get Apache 2.2 to set a particular response header if some other response header is missing
I have an Apache 2.2 server running mod_proxy. We had a scenario where a response came through from the origin corrupted, it didn't have any content-type or cache-control headers. This meant that downstream proxies and clients cached the dodgy…

Glenn Slaven
- 2,400
- 2
- 30
- 42
2
votes
3 answers
Apache Proxying Setup
I have a scenario as below:
I have a URL with DNS Entry, say http://example.com
When the user enters http://example.com/portal, (s)he lands on Apache (2.2) Web Server (say AWS 1). There I have a VirtualHost Entry which proxies the request to another…

Mubin
- 123
- 4
2
votes
1 answer
How to turn on mod_cache with mod_proxy or mod_jk
I'm trying to setup apache+mod_jk/mod_proxy with mod_cache.
But it looks like all proxied requests are ignored by mod_cache.
May be it is related to module handling order or something else?
Apache 2.2.22
I've tried use both mod_jk and mod_proxy -…

Sirex
- 31
- 3
2
votes
0 answers
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 pointing to my firewall, and firewall rules that…

Willscrlt
- 21
- 1
- 6
2
votes
1 answer
Mod_proxy preserve request protocol
I have an apache reverse proxy server with two balancer members - one for non-secure and one for secure. I want to 'reverse' the request to the machine inside the firewall using the original protocol. As far as I can tell, lines…

Random Geo guy
- 125
- 7
2
votes
1 answer
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 to http://myaccount.myhostname.com
For this I use…

Julien
- 78
- 1
- 8
2
votes
1 answer
apache balancer, workers on internal IPs
I'm planning to build my first balancer for one of our website, using apaches mod_proxy and mod_proxy_balancer. Having not so many external IP's I'm thinking about to use each machines Internal IP but I can not decide if this would be a good…

fefe
- 357
- 1
- 8
- 18
2
votes
3 answers
Apache RewriteRule - Proxy flag not working
I'm having a problem running Apache 2.2.20 on a Linux Mint distro.
I've got the following rule in my .htaccess file:
RewriteEngine on
RewriteRule old1/old2 http://localhost/new1 [P]
When I browse to http://localhost/old1/old2 I just get a redirect…

Monkeybrain
- 121
- 1
- 2
2
votes
0 answers
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 (192.168.1.10)
[Thu Jan 03 14:44:26 2013] [error]…

zombor
- 121
- 1
- 2
2
votes
1 answer
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

user319862
- 777
- 2
- 8
- 20
2
votes
2 answers
only port working with mod_proxy is 8009, trying to use with tomcat and httpd, dont know why
I am trying to use mod_proxy with httpd and tomcat. If I leave tomcat ajp to run on 8009 in the server.xml of tomcat and in the httpd.conf of apache httpd everything works great but once I change it to anything else and restart them both it does not…

techsjs2012
- 545
- 2
- 6
- 10
2
votes
0 answers
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 exposed by secure.foo.com
Since it a web service I…

user1172468
- 299
- 1
- 2
- 11
2
votes
1 answer
How can the mod_proxy be harmful?
I would like to apply this answer to my own server.
However, it will not be an internal server, so I'm concerned about security. The linked question tells that the mod_proxy can be easily misconfigured. What is so dangerous ? And what's the 'good'…

Nison Maël
- 119
- 6
2
votes
0 answers
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
LoadModule deflate_module …

hsnm
- 163
- 7
2
votes
1 answer
reverse proxying to https apache
I'm trying to reverse proxy https from http virtual host but getting an internal server error.
Here is my config :
ProxyPass /access/signin https://mysecureserver.com
ProxyPassReverse /access/signin https://mysecureserver.com
in the logs I get the…

talg
- 241
- 1
- 3
- 5