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
6
votes
2 answers
Apache ReverseProxyPass redrects to http rather than https
I have a reverse proxy setup using apache mod_proxy:
ServerName reverse.server.com
ProxyPass / http://10.1.9.11:3000/
ProxyPassReverse / http://10.1.9.11:3000/
ProxyPreserveHost on
...snip ssl…

Paul
- 1,288
- 13
- 25
6
votes
2 answers
mod proxy not working on apache
I am trying to install Mod_Proxy Apache module on WHM/CPanel CeEntOS Linux Server. Here is system info:
CentOS release 5.6 (Final)
Server version: Apache/2.2.21 (Unix)
Cpanel::Easy::Apache v3.7.2 rev9999
The purpose of me installing is so that when…

JohnMerlino
- 425
- 2
- 9
- 20
6
votes
3 answers
IPtables block port 8080 but not for localhost
Currently I have an application that is running on 8080 front-ended by mod_proxy.
Order allow,deny
Allow from all
ProxyPass http://localhost:8080/hudson
ProxyPassReverse…

Joey BagODonuts
- 1,635
- 2
- 16
- 16
6
votes
2 answers
Rewrite URL before passing to proxy Lighttpd
I'm trying to setup a reverse proxy in lighttpd, such that all requests (and only those requests) under /mobile/video is redirected to the / directory of a secondary web server. This is pretty easy in apache, but I can't for the life of me figure…

futureelite7
- 207
- 1
- 4
- 8
6
votes
1 answer
how to fix apache2 "proxy_http:error" AH01102: error reading status line from remote server localhost:4382
how to fix apache2 "proxy_http:error" AH01102: error reading status line from remote server localhost:4382.
I have an apache2 webserver which is being used to serve few nodejs applications in the backend.
Apache2 webserver version:
Server…

devops-admin-jacky
- 61
- 1
- 1
- 3
5
votes
2 answers
Apache: honouring the DNS ttl in proxy-pass
We’re trying to set a bunch of Apaches 2.4.18 to proxy pass the requests it receives to our partner's upstream server. Our partner uses Amazon’s Elastic Load Balancing and thus the only we know about their servers is its DNS names.
The TTL of the…

Gustau Pérez
- 61
- 1
- 1
- 2
5
votes
1 answer
ProxyPass HTTPS to other server
I have a server frontend.example.com with public IP. It's Apache (2.4) should proxy the traffic coming for service1.example.com (DNS alias to frontend.example.com).
service1.example.com is a VM on a private LAN (192.168.56.0) between the two.
Now,…

cornuz
- 437
- 1
- 7
- 17
5
votes
1 answer
RabbitMQ behind Apache mod_proxy not resolving deep link
I have RabbitMQ running behind Apache mod_proxy so I can access the web management interface over port 80:
ServerName rabbit.example.com
ProxyRequests Off
ProxyPreserveHost On
Order deny,allow
…

Luke
- 3,826
- 8
- 36
- 40
5
votes
1 answer
Split the same virtualhost configuration across multiple files
I have multiple django applications on my server that run each within their own virtualhosts, bound to different ports. (I do this so as to isolate each WSGIProcessGroup).
Now I would like to proxy each application to the port 80 for a simplicity…

Olivier H
- 245
- 1
- 3
- 9
5
votes
4 answers
How can I configure Apache to use HTTPS for external access but HTTP for internal access?
I have two servers, one a development server that is accessible internally on our company's local network and the other a public-facing web server. The development server hosts several tools that we use to manage our projects internally but now we…

Tim Wardle
- 383
- 1
- 5
- 9
5
votes
1 answer
Apache SSL reverse proxy to a Embed Tomcat
I'm trying to put in place a reverse proxy for an application that is running a tomcat embed server over SSL. The application needs to run over SSL on the port 9002 so I have no way of "disabling SSL" for this app. The current setup schema looks…

ggarcia24
- 151
- 1
- 2
5
votes
1 answer
proxy: no HTTP 0.9 request (with no host line)
I'm getting a bunch of these errors in my error.log:
[client 1.2.3.4] proxy: no HTTP 0.9 request (with no host line) on incoming request and preserver hose set forcing hostname to be www.mydomain.com for uri /
My config is…

ConsultUtah
- 259
- 1
- 3
- 13
5
votes
1 answer
Logwatch: connection attempts using mod_proxy
Today I noticed this entry in my log file:
Connection attempts using mod_proxy:
175.180.113.83 -> 66.135.210.61:80: 1 Time(s)
This is something I do not normally see in my logs. I have a few questions about this:
What does this actually mean? Does…

Aaron
- 722
- 2
- 10
- 19
5
votes
2 answers
What is the "right" way to host CUPS behind Apache 2
I have tried some combinations of ProxyPass, ProxyPassReverse and ProxyHTMLURLMap but I'm still not having much luck. I just would like to be able to hit the printers in CUPS by going to www.printerhost.com/printers/printername rather than having…

Greymeister
- 185
- 1
- 9
5
votes
2 answers
Apache load balancing when the session id is in url
I really have no idea...
I have a java web application which stores the session id in URL rather than using cookies. I want to run the application on 2 tomcat servers and fronting them with an Apache server for load balancing.
__…

KK Lo
- 51
- 1
- 3