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
Server returns http 504 error code for specific script
I have 3 servers all set up identically load balancing a single site with apache, mod_proxy_fcgi, php5-fpm and mysql/mariaDB galera cluster running on ubuntu 14.04 server. Everything seams to work fine for the most part except one page. The page im…

TNT
- 21
- 2
2
votes
0 answers
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 set Host "oldname.my.net"
RequestHeader set…

mohrphium
- 645
- 2
- 9
- 17
2
votes
3 answers
Apache 2.4/PHP-FPM ProxyPassMatch and access restriction
I've got Apache/PHP setup exactly like this: https://wiki.apache.org/httpd/PHP-FPM
It includes the ProxyPassMatch rule as mentioned:
ProxyPassMatch ^/(.*\.php)$ fcgi://127.0.0.1:9000/path/to/files/$1
This sends all requests with .php in it to a…

kasimir
- 203
- 1
- 3
- 11
2
votes
1 answer
disable auth digest for reverse proxy
I have digest auth set up on one of my domains but I would like to disable it for a reverse proxy.
ServerName example.org
DocumentRoot /var/www/
BrowserMatch "MSIE"…

Hobozilla
- 324
- 1
- 3
- 8
2
votes
1 answer
How can I troubleshoot an Apache Server reverse proxy dropped connection?
We are suddenly seeing an intermittent, but very frequent, error while POSTing files to a Tomcat servlet over https via an Apache Server reverse proxy. The error only seems to occur while POSTing files of 20 MB or more (videos). We have not seen the…

dgvid
- 121
- 1
- 5
2
votes
3 answers
Apache Redirect To Another Server with subdomain
I am currently running CentOS which hosts my web and gitlab server and a windows machine that is hosting a subsonic server. Currently, my ip points to the CentOS but does not redirect correctly. I am able to access / but unable to access any other…

Hong Yi
- 279
- 1
- 4
- 7
2
votes
1 answer
Apache as a proxy for Nexus, Jenkins and Foreman (Several VirtualHosts on same domain, IP and Port)
I'd like to configure Apache to be used as a proxy for Nexus, Jenkins and Foreman which are installed and running on the same server.
Here is an example of the Virtual host config file for Foreman, the others files for Nexus and Jenkins looks pretty…

PapelPincel
- 325
- 6
- 18
2
votes
1 answer
Apache proxy configuration in which a subpath is a proxy for a different port
I wish to have the following happen:
http://www.example.com/wiki be a proxy for http://www.example.com:8090/
http://www.example.com/ be a proxy for http://www.example.com:8080/
I have the following Apache configuration. However, this has both…

cubetwo1729
- 196
- 1
- 2
- 4
2
votes
2 answers
Is it possible for a reverse proxy to make its request to another proxy and rewrite the urls in the response content?
I'm currently looking into reverse proxies and don't have a specific one in mind yet.
I am trying to forward my requests from a reverse proxy through another proxy on the web with authentication. The main reason for a reverse proxy is to have the…

KrispyDonuts
- 121
- 1
- 2
2
votes
1 answer
Apache server : Reverse proxy and websockets via mod_proxy_wstunnel
I have a little problem with the web sockets and my reverse proxy apache, i have upgraded in latest release 2.4.5 and loaded the module mod_proxy_wstunnel.
The httpd.conf :
ServerAdmin webmaster@localhost
ServerName…

WhatsUp
- 125
- 2
- 2
- 5
2
votes
1 answer
Add a request header on mod_proxy based on the value of another request header
I have a server running mod_proxy and I need to essentially rename a request header. A proxy closer to the origin is stripping off the X-Forwarded-For header, but we need that data to persist, so I want to add the value to a different header to…

Glenn Slaven
- 2,400
- 2
- 30
- 42
2
votes
1 answer
Apache2 proxy Tomcat6 prevent 503 error while starting
While tomcat6 is starting up all my http requests are retained by the server and sends the response when the server is up.
But when I use an apache2 as a proxy the apache2 responds inmediatly a 503 error when the tomcat is starting. How can I…
aalmeida88
2
votes
1 answer
Apache reverse proxy causing ~40 second delay on first access after idle
I have a simple Apache 2.2 reverse proxy setup on OSX with three virtual hosts all providing SSL and Open Directory authentication before forwarding everything to their respective back end servers.
For each of the three virtual hosts things work…

Fraser Graham
- 121
- 1
- 4
2
votes
4 answers
httpd: how to dynamically delay request forwarding to proxy?
I have Apache httpd (2.2.22) configured as reverse proxy.
There is a situation in which I need to take my web server (the receiver of the proxied requests) offline for a few milliseconds. During this time the web server should not receive any…

Max Leske
- 93
- 1
- 8
2
votes
1 answer
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 in windows 8. I need to access a website, let's…

DPM
- 133
- 2
- 9