Questions tagged [mod-proxy]

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.

689 questions
3
votes
2 answers

Apache 2.4.7 mod_proxy_wstunnel tunneling too much (HTTP as well as WS)

I'm running Apache 2.4.7 as a reverse proxy on Ubuntu 14.04 LTS. This Apache server acts as the entrypoint to a lot of different backend applications, which are accessed via different mod_proxy configurations in blocks I need to provide…
Brian Beckett
  • 509
  • 1
  • 4
  • 12
3
votes
1 answer

Apache httpd mod_proxy POST issue on home page like abc.com

I have apache server 2.4.18 on centos as a web server in the front end. Now I have multiple websites which are deployed on tomcat 8.0.33 as webapps in the default webapps folder of tomcat. Configuration on apache end:
3
votes
2 answers

Dynamically set RequestHeader host within Apache mod rewrite

I'm using Apache mod_rewrite and I'm looking to dynamically set the Host header with RequestHeader based on the domain from the QUERY_STRING. How would I dynamically set the Host? Given the following request…
codejunkie
  • 51
  • 1
  • 1
  • 7
3
votes
2 answers

Apache mod_proxy with Tomcat 8.5 using http2

Is it possible to use mod_proxy in front of an Apache Tomcat 8.5 with the http2 protocol? If yes it would be nice to see an example configuration. Edit Specifically: Is it possible and recommended to use http2 between the client and the server…
yglodt
  • 245
  • 3
  • 8
3
votes
3 answers

Apache refuses HTTP CONNECT over SSL on non default virtual host

I have an apache 2.4.18 server running with multiple vhosts. /etc/apache2/sites-enabled/000-default.conf: DocumentRoot /var/www/html Redirect 400…
Maxime Rossini
  • 241
  • 3
  • 8
3
votes
1 answer

SSL mod_proxy issues in bracket

I am having trouble with getting proxypass to work in apache. My configuration file is as follows: ServerName example.com ServerAlias www.example.org ServerAdmin info@example.org DocumentRoot…
Slava Knyazev
  • 155
  • 1
  • 1
  • 6
3
votes
1 answer

How to secure an open proxy (mod_proxy) for demoing service

A client has a service that requires a bit javascript to be added to a customer's page. As a marketing tool to show prospective customers, I created a web app that demonstrates how the customer's page would look with my client's javascript. It's…
Stan James
  • 391
  • 3
  • 8
3
votes
4 answers

mod_proxy change without restart

How can I setup an apache mod-proxy server to server content from a seperate designated server, in a way that I can change which server to serve content from without restarting apache? The content server will change periodically, either for…
Fire Crow
  • 235
  • 2
  • 9
3
votes
1 answer

Apache Proxy & Basic Auth

Im trying to set up an Apache Proxy which also does LDAP Basic Auth: ServerAdmin webmaster@localhost DocumentRoot /var/www/html ProxyPass / …
3
votes
5 answers

setting up tracd behind mod_proxy?

I'm having trouble setting up mod_proxy and tracd. Seems almost all the search results for this problem take me to the built-in trac documentation page that mentions it as an option. I have several VirtualServers already running on the box in…
FilmJ
  • 766
  • 2
  • 9
  • 16
3
votes
1 answer

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: SSLEngine on DocumentRoot…
Hauke
  • 31
  • 2
3
votes
2 answers

Apache 2.4 Proxy Connect - connection reset

I have a working setup with apache 2.2 server acting as a remote proxy. I'm using proxytunnel with two chained proxies: proxytunnel -q -X -p localproxy:8080 -r remoteproxy:443 -d destination:22 I had to apply a patch for SSL to work though:…
vobelic
  • 193
  • 1
  • 5
  • 17
3
votes
0 answers

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 back-end server for a while (about 1 minute). It…
vcarel
  • 434
  • 4
  • 13
3
votes
1 answer

Apache: proxy an internal URL using regex

I have a few servlets listening on internal ports which are not accessible from outside. I use Apache's ProxyPass and ProxyPassReverse directives to serve them securely from port 443: ProxyPass /media http://localhost:9002/ ProxyPassReverse …
Adam Matan
  • 13,194
  • 19
  • 55
  • 75
3
votes
1 answer

Apache mod_proxy+mod_rewrite = "Request exceeded the limit ..." error

Good day, I'm using Apache as a reverse proxy for my Tornado app which runs on http://localhost:8090. I want Apache to proxy everything that arrives to /api/v2 through HTTPS to http://localhost:8090. Apache is also takes care of authentication, thus…
Zaar Hai
  • 497
  • 5
  • 13