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
1 answer
Pass a 503 status code through a reverse proxy
I'm getting behavior I don't quite understand from my Apache reverse proxy.
I have a back end server which returns a 503 using app_offline.htm during certain processes.
When this occurs I receive a traditional Apache 403 error:
You don't have…

Tim Brigham
- 15,545
- 10
- 75
- 115
2
votes
0 answers
Apache proxy server not passing X-Forwarded-For
I am migrating some sites from one server to another. To avoid any downtime, I am proxying moved sites through the old server while the DNS updates.
On the original (proxy) server, I have the following:
Servername…

Zakalwe
- 153
- 2
- 7
2
votes
1 answer
Apache 2.4 mod_proxy DNS failure
I have very strange problems with apache 2.4.18 mod_proxy on Debian Linux Testing with kernel 4.3.0 (amd64). I am using it as a forward proxy:
ProxyRequests On
ProxyVia On
ProxyBadHeader Ignore
AllowCONNECT 1-65535
Right after starting the server,…

Christoph
- 21
- 1
2
votes
1 answer
how to increase Apache mod_proxy Jetty 5minute timeout
we use Apache and Jetty to do install components behind a firewall. Some actions take a while ( 10-15 minutes ). Apache is the proxy and Jetty is the proxy target on some machines. Everything works fine for actions taking less than 5 minutes.…

Ralf
- 23
- 4
2
votes
1 answer
Apache mod_proxy AH00927 messages
I was hoping someone could help me with my apache2 and mod_proxy. I have the following setup:
Python web server 1 (HTTP)
Python web server 2 (HTTP)
Python web server n (HTTP)
Apache (2.4.7) with mod_proxy with multiple VirtualHosts like…

dimaj
- 63
- 7
2
votes
2 answers
ReverseProxy not working on OSX El Capitan
I am attempting to access my plex web ui through a cleaner url. Currently, you can access it at http://marvin.boldlygoingnowhere.org:32400/web/index.html. I want it to be at http://marvin.boldlygoingnowhere.org/plex
Heres what I have,
marvin:~…

r2DoesInc
- 71
- 1
- 6
2
votes
0 answers
haproxy anonymous frontend, authorized backend with NTLM
Need to provide an anonymous readonly access to an svn repository
AFAIK, haproxy cannot auth on backend by itself.
There's a working configuration for haproxy with basic auth. How to migrate it to NTLM? Main problem is we cannot simply add a static…

basin
- 558
- 1
- 5
- 22
2
votes
1 answer
Apache RewriteRule 502 Error on dev server, works on live
I'm on Apache 2.2.15. My vhost.conf contains a RewriteRule to handle article URLs;
# handling for neat article titles
RewriteRule ^/news/[0-9]{4}/[A-za-z]{3}/([0-9a-zA-Z-]*)/([0-9]{4})([0-9]{6})/?$…

sauntimo
- 153
- 6
2
votes
0 answers
Apache mod_proxy + mod_cache (socache and disk)
I have here a three node apache mod_proxy load balancing cluster. now i want enable mod_cache to get more load from the backend to the frontend.
So thats my config for the cache:
…

RAPS
- 21
- 1
2
votes
2 answers
How can I force mod_rewrite to send user info component of a URI?
A colleague recommended I repost this from StackOverflow to ServerFault:
This has been driving me crazy. I have a web application that's being served via Apache Web Server. The database server that backs the application is Apache CouchDB, which…

StickByAtlas
- 141
- 3
2
votes
1 answer
Session lost in Jetty using Apache as proxy
I have an application based on eXist-db. It's basically a Java web application that uses Jetty. It runs on the remote Linux server behind Apache proxy.
I use the following Apache configuration:
ServerName domain.com
ProxyRequests …

lagivan
- 149
- 1
- 7
2
votes
1 answer
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 mod_proxy_express says mod_proxy_balancer…

Victor
- 133
- 5
2
votes
0 answers
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 to go for mod_proxy (and not jk, ajp or something…

Marged
- 213
- 1
- 2
- 10
2
votes
1 answer
Force Apache proxy_balancer to specific worker
I would like to have two tomcat servers behind a proxy_balancer so I can do rolling deploys.
I have this working so I can take down one tomcat and the other takes futire requests
BalancerMember…

DavidC
- 93
- 7
2
votes
1 answer
Setting up basic proxy from https to http via Apache
I need to proxy some remote api https://example.com/api/
to be accessible locally as http://localhost/api/
I tried putting this line in httpd.conf:
ProxyPass /api/ https://example.com/api/
I have checked these modules are enabled:
…

Dan
- 125
- 1
- 6