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
3answers
118 views
+50

Proxying an address to another address

I am trying proxy an address to an ip with path. Here is what I have done; <VirtualHost 200.0.0.1:80> ServerAdmin admin@site-address.com ServerName app.example.com ServerAlias ...
0
votes
0answers
7 views

“service temporary unavailable” mod_proxy_balancer and sticky sessions

I have configured a Apache mod_proxy_balancer using a stickysession cookie. Header add Set-Cookie "ROUTEID=.%{BALANCER_WORKER_ROUTE}e; path=/" env=BALANCER_ROUTE_CHANGED <Proxy ...
0
votes
1answer
27 views

How to configure apache proxy with 2 contexts: “/” and “/dev”

I have 2 AJP services running in my server and a Apache 2.4 to proxy then. I want to map this: # in-development environment <Location "/dev"> ProxyPass ajp://127.0.0.1:3001/dev/ ...
0
votes
1answer
54 views

Apache ProxyPass: pass requested URL as GET parameter to destination URL

Hi I'm trying to set ProxyPass to pass requested URL as GET parameter to destination URL, but I can't figure out how to write it in the config file. I tried something like this: ProxyPass ^(.*)$ ...
0
votes
1answer
18 views

Can HTTP reverse proxies enable HTTP Keep-Alive on the client side and on the server side correlated?

I mean that all messages sent from a given ClientA<->RP tcp session will be forwaded to the same RP<->Server tcp session. (And that no other client tcp connection would be able to reuse the same ...
1
vote
1answer
30 views

Apache2: How to restrict access to specific IP with ProxyPass?

I have an Apache2 Server configured as Reverse Proxy on my perimeter network. There are a lot of VirtualHost configured with the ProxyPas directive. For a specific one, I want to restrict access to ...
0
votes
0answers
26 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 ...
1
vote
1answer
45 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 ...
0
votes
1answer
38 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
32 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
15 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
0answers
98 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
55 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 / ...
0
votes
0answers
12 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
37 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
14 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
10 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
76 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
19 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
30 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
30 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 ...
0
votes
0answers
23 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
0answers
13 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
52 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 ...
1
vote
1answer
21 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
40 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 / ...
0
votes
1answer
42 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
1answer
33 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
76 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
50 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 ...
0
votes
2answers
22 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 ...
0
votes
1answer
23 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
52 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, ...
1
vote
0answers
60 views

How to use Apache web server through proxy (hide real ip) on windows? [closed]

What I want to do is: (1) internet -> domain name -> proxyip:port -> apache web server (and) (2) apache web server -> proxyip:port -> internet Looks like I have already set (1) with the help of ...
0
votes
1answer
31 views

Dynamic virtual hosts with different backend port in Apache

I'm looking to create a series of subdomains for an application, each of the subdomains get their own backend server via mod_proxy. I'd like to avoid generating a new vhost every time this happens, ...
0
votes
1answer
41 views

Php FPM + Apache. Customize 404 for PHP files

I have setup a small Apache instance and configured PHP with FPM. I am using the ProxyPassMatch directive. Now, when FPM does not find the requested file, it will just print out "File not found" and ...
0
votes
0answers
18 views

Forward request with Apache Server

My current scenario is as follow: I have an Apache server that is being run on Windows Server 2008 R2 in the DMZ that listens on port 80 for incoming connections, IP is 155.15.22.90. I then have an ...
1
vote
0answers
23 views

mod_rewrite and double slash issue

I am getting mod_rewrite and double slash issue can you please help me out. # ProxyPass /balancer-manager ! RewriteRule /phoenix/^(.*) ...
0
votes
0answers
124 views

Can Tomcat 8 Rewrite Valve be used to forward access to specific ports?

I have a server (server.mycompany.com) which have (among others) several java applications running in tomcat containers, each on it's own port. On port 80 is an Atlassian Confluence wiki, installed in ...
0
votes
1answer
118 views

SSL mod_proxy issues in <location> bracket

I am having trouble with getting proxypass to work in apache. My configuration file is as follows: <VirtualHost 1.2.3.4:443> ServerName example.com ServerAlias www.example.org ...
1
vote
1answer
52 views

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

apache reverse proxy: following redirects?

Is it possible to make apache (2.2) mod_proxy follow upstream redirects (http 301, 302)? Usually one would configure a reverse proxy like: ProxyPass /foo http://upstream.example.com/bar ...
0
votes
1answer
82 views

Two reverse proxies with apache 2.4 and mod_proxy

I'm Trying to configure a environment with two proxies. The idea is that the first proxy redirects to the second and the second to the final web. The configuration works for normal request. but I ...
0
votes
0answers
195 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 ...
0
votes
0answers
201 views

Is “ap_proxy_connect_backend disabling worker” significant for mod_cluster?

Im getting an error message in my apache logs when I stop jboss - AH00959: ap_proxy_connect_backend disabling worker for () for 60s My configuration is - LoadModule proxy_module ...
0
votes
1answer
23 views

Globally change mod_proxy reset time?

Im running a server configuration where apache(win 2.4) is acting as a load balancer for a 2 jboss servers. The load balancer is running unadvertised balancer, and my two servers are pointing towards ...
1
vote
1answer
86 views

How to set up a Apache forward proxy with persistent connections?

We have a Apache forward proxy sending requests to thousands of back end servers. The servers are faulty, in that they require both the initial challenge request (without authentication) and the next ...
1
vote
0answers
76 views

apache mod_proxy call back to content server with client certificate

Setup ServerA Apache running a HTTPS site, which requires a client certificate to connect. see infos below regarding /etc/apache2/sites-available/secure.site.conf and ...
0
votes
1answer
111 views

SSL offloading with Apache and tomcat giving infinite looping | mod_proxy_ajp

I am working on a setup with following configurations Load Balancer -> Apache Web server ( 2) -> Application deployed on tomcat ( 5 nodes by clustering) In the deployed application, we do ...