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.

learn more… | top users | synonyms

0
votes
0answers
13 views

How to reverse proxy a backend server's sub directory in apache

I created a reverse proxy with apache proxy_mod as below serving two webheads as backend servers. <VirtualHost example.co.uk:80> ProxyRequests off ServerName example.co.uk ServerAdmin ...
0
votes
1answer
2k views

HTTP proxy - expect 100 and authentication

I have an issue with Apache2 which I use as a proxy. My software sends HTTP PUT for protected resource with Expect: 100-continue Transfer-Encoding: chunked And instead of getting '401 ...
1
vote
1answer
37 views

What is the use of ProxyPassReverse Directive

Definition from apache.org says: This directive lets Apache httpd adjust the URL in the Location, Content-Location and URI headers on HTTP redirect responses. This is essential when Apache httpd ...
1
vote
1answer
1k views

How can I fix recurring PHP 503 Errors on my Apache-mod_proxy_fcgi-PHP-FPM Server?

i'm having trouble with my php-fpm setup. Maybe you guys can point me in the right direction. First off, everything is working fine. But every now and then, I'll get 503 Errors. Those errors are gone ...
7
votes
2answers
5k views

Apache httpd workers retry

I have an Apache httpd web server running mod_proxy and mod_proxy_balancer. The whole of /somedir is sent to 2 worker machines which service the requests using the round robin scheduler. Each worker ...
0
votes
1answer
14 views

“No protocol handler valid for the URL” with httpd mod_proxy_balancer

I'm trying to set up failover for a reverse-proxied server with a localhost static copy of resources that would usually be served by a content management system. I've used wget to grab a static copy ...
0
votes
0answers
18 views

Why my websockets application deployed on tomcat is not getting the shibboleth headers?

My stack looks like this: Apache httpd server 2.4.12: with mod_shibd, mod_proxy_http & mod_proxy_wstunnel Shibboleth 2.5 Apache Tomcat 7.0.54 Our scenario looks like this: --------- ...
2
votes
1answer
11 views

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 ...
1
vote
1answer
1k views

Apache ProxyPass/RewriteRule with p flag: Return no content when response has multi-part content type i.e.images

This is a continuation of a previous question which has been implemented with a little change. Following is the structure I am going to talk about. My goal is to create the Tunnel/Proxy. ...
2
votes
1answer
1k views

Obscuring tomcat context path in URL

I've setup an Apache reverse proxy to Tomcat that is working, in that I can load my url and get connection to the Tomcat backend. What I'm attempting to do now is rewrite the URL that a user sees in ...
0
votes
2answers
1k views

Tomcat logging and mod_proxy

I have Tomcat running on port 8080, and when I send a request directly to Tomcat it works fine: curl -IL http://localhost:8080/myapp HTTP/1.1 302 Moved Temporarily Server: Apache-Coyote/1.1 ...
1
vote
0answers
75 views

Apache, Tomcat : How to use multiple SSL certificates on a single server

I am working on our Debian X64 server which is the endpoint for 5 domain-names. One of the domain-names is utilized by a web-project running on Apache web server. The remaining 4 domains have ...
0
votes
1answer
36 views

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: <VirtualHost *:80> DocumentRoot /var/www/html Redirect 400 / ...
4
votes
2answers
1k views

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 ...
4
votes
1answer
4k views

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" ...
3
votes
1answer
1k views

GitLab CE 7 behind Debian 8/Apache 2 virtual host: can’t access assets

On Debian 8.0 I’m trying to have Apache 2.4.10 manage a GitLab CE 7.10 Omnibus installation as a virtual host. Setting and goal Apache 2 is already set-up and running several virtual hosts that all ...
1
vote
1answer
6k views

502: proxy: pass request body failed

Sometimes I get the following error (in apache's error.log) when viewing my site over https: (502)Unknown error 502: proxy: pass request body failed to xxx.xxx.xxx.xxx:443 I'm not entirely sure what ...
0
votes
1answer
2k views

Losing JSESSIONID when using ProxyHTMLURLMap

I've setup a reverse proxy between an Apache front-end and multiple Tomcat backends. The below block of code includes the ProxyHTMLURLMap param so that the HTML can be rewritten to remove the Tomcat ...
0
votes
0answers
11 views

How do I diagnose a specific slow Apache proxy transaction?

I have four web servers acting as a load balancing proxy to some application servers. We have recently received some transactions that are taking over 10 seconds to service. (see access_log entry ...
0
votes
0answers
28 views

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 ...
1
vote
0answers
12 views

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 ...
0
votes
0answers
7 views

apache proxypass depending on querystring

I have two apps listening on ports :8085 and :8888 respectively. I am trying to serve either of the two apps depending on the presence of a querystring. My httpd-vhost looks like RewriteEngine On ...
1
vote
1answer
29 views

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 ...
1
vote
0answers
18 views

Load balancing based on header value

I have apache2 load balancing working perfectly based on session affinity. Traffic does get directed properly to appropriate tomcat server. We are trying to use same servers to serve some REST API ...
0
votes
0answers
25 views

Apache2 proxy reverse broken Tomcat8 links

In my DigitalOcean vps, I have Apache2 (LAMP), phpmyadmin and Tomcat 8. Everything is running well. Now I'm trying to implement the reverse proxy so I can access the tomcat8 not by https: ...
0
votes
0answers
25 views

Apache Rewrite and ProxyPass

I got a little problem with my apache configuration at the moment Got a Vhost like this: <VirtualHost *:80> ProxyPassMatch ^/(.*\.php)$ fcgi://127.0.0.1:9001/www/$1 ...
1
vote
1answer
1k views

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 ...
0
votes
1answer
24 views

mod-proxy by query string to load balancer

Given a balancer which currently proxies all requests: <Proxy balancer://java-app> ProxySet lbmethod=bybusyness BalancerMember https://java1:8443 route=java-app1 BalancerMember ...
0
votes
0answers
19 views

Using apache mod_proxy balancer, is it possbile to only proxy GET requests?

I have the configuration of a virtual host like the following: ProxyRequests Off ProxyPreserveHost On ProxyPass /content/ balancer://nhosts nocanon ProxyPassReverse /content/ ...
0
votes
1answer
39 views

Proxying WebSockets through Apache causes “No WebSocket handshake” errors

I am trying to proxy an HTML5 application utilizing WebSocket to the outside world. Repetier Server runs within my private Network on a Raspberry Pi under the port 3344. From this side there is no ...
0
votes
0answers
11 views

Apache RewriteRule with Proxy and Changing Content-Type

We are currently using mod_proxy to proxy to proxy to the correct destination with the following line: ProxyPass /my-path balancer://server/path/to/real/thing However, a third party is sending us ...
0
votes
1answer
48 views

mod_rewrite to replace all dots with underscores after path

I've been through all tagged questions here and on SO, but my problem is different because of either/both needing to replace "." with "_" comes after a particular path and I'm running through a ...
2
votes
1answer
3k views

Gunicorn behind apache link to localhost

I have a gunicorn serving a flask application behind Apache using mod_proxy. Gunicorn is on http://localhost:8080/. Let's say my server is on http://example.com/ Sometimes when I post an invalid ...
1
vote
1answer
20 views

Securing traffic handled with mod_proxy

I have a machine running Apache and a Node.js server. Traffic is being routed through Apache using mod_proxy like so: <VirtualHost *:443> ServerName example.com ProxyPass / ...
0
votes
2answers
36 views

Multi site configuration with apache mod_proxy

I have one big server (temporary and some websites will be moved to several others at some point) where I installed all the tools I need for my project (Jira, Bamboo, etc.) and now I need to add one ...
0
votes
1answer
15 views

Apache2 and proxy_balancer BalanceMember

I've got this Apache2 site configuration, allowing me to "run Apache as a proxy" of the localhost:8080 service. <VirtualHost *:80> ServerName foo.mydomain.com RedirectPermanent / ...
5
votes
2answers
4k views

Understanding apache 2.4 mod_proxy_fcgi and RewriteRules in htaccess

We've recently switched one of our web servers to apache 2.4 and running PHP via php-fpm and mod_proxy_fcgi. Most everything works quite well, but there is one problem that I don't understand yet. One ...
0
votes
2answers
18 views

Cloudfront origin direct requests to a parent path

I'm trying to set up mydomain.com/help that should pull content from mydomainhelp.otherdomain.com I was told to use a apache mod_proxy, but I'm not a big fan of that approach. I was wondering if I ...
2
votes
1answer
2k views

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 ...
1
vote
1answer
2k views

Apache mod_proxy_balancer + Tomcat load balancing - Should not redirect until web applications are ready

I am using apache2 mod_proxy and mod_proxy_balancer to balance the load to 4 seperate tomcat8 instances on different servers. I am using different AJP ports for each tomcat instance and using jvmRoute ...
3
votes
1answer
721 views

Changing a Set-Cookie header using mod_rewrite/mod_proxy

I have a bunch of CGI scripts, which are served using HTTPS. They can only be reached on the intranet, not from the outside. They set a cookie with the attribute 'Secure', so that it can only be send ...
0
votes
0answers
59 views

Tomcat 8 / Websockets mod_proxy_wstunnel / Bitnami

I guess this is more of a configuration question, I understand what I'm trying to do, but I am a bit unfamiliar with the way Bitnami Tomcat configuration is laid out. I see that the module I need is ...
0
votes
2answers
45 views

Apache VirtualHost Redirect Host + Path

I need to redirect all requests from http://example.com/app to http://app.example.com/. In VirtualHost I can only specify a ServerName as example.com. I only want requests from the host plus a ...
2
votes
1answer
675 views

Apache Reverse Proxy Java Application Server CLOSE_WAIT Connections

I've got Apache setup as a reverse proxy for a Java Application server (GlassFish) and I noticed there are about 100 connections in the state CLOSE_WAIT even on an idle development system: sudo ...
0
votes
1answer
20 views

Redirecting subdomain to utorrent server

I have the subdomain: ut.domain.com The virtual host is set up below. <VirtualHost *:80> ServerName ut.domain.com ProxyRequests Off <Proxy *> Order deny,allow Allow from all ...
0
votes
1answer
50 views

Port based reverse proxy in Apache Web server

I have two web applications http://app1:8080 and http://app2:3000 running on two different ports and different machines. I have to pass the applications traffic through Apache web server, ...
9
votes
6answers
18k views

Apache2 Proxy timeout

I have Apache2 with PHP + PHP-FPM configured according to: http://wiki.apache.org/httpd/PHP-FPM I am writing a script that will take a long time to execute on an internal Vhost, but keep getting ...
1
vote
1answer
1k views

route port 3000 to apache2 alias

I have a meteor application running on port 3000. I can successfully connect to the program with www.myurl.com:3000, but would rather connect to it via www.myurl.com/myappname. I started with the ...
1
vote
1answer
3k views

Apache Virtual Host SSL Behind Reverse Proxy

I have a web server (Apache reverse proxy) in front of my app server (Apache) and I'm trying to pass common name for SSL. My web server (Apache reverse proxy) is setup to preserve hostname ...
0
votes
0answers
156 views

Apache times out unexpectedly ( despite setting Timeout in httpd.conf )

I've a PHP script (on centos, apache 2.2, php 5.4 & apache-mod-php5) that its execution takes about 2 minutes, but 1 minute after sending request, my connection to apache server times out and ...