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

1
vote
0answers
79 views

Enable/allow Proxy From Different Server With SSL

I have a node.js app on server A (http://sub.domainA). My customer wants to use this solution without redirecting. The configuration in .htaccess for the node.js service on server A looks like this. ...
0
votes
1answer
99 views

Apache2 proxypassreverse directive appending virtualhost port?

I have been trying to setup a reverse proxy using apache 2 mod_proxy and the proxypass & proxypassreverse directives. I am installing WSO2 Identity Server and wish to access that app using a url ...
0
votes
1answer
134 views

Reverse proxy Apache rewrite rule doesn't work

I've an apache reverse proxy and i try to make a rules for redirects few urls of example2 to example1 but my rewrite rules doesn't work. I've try this in the vhost of example2 : ProxyPass / https://...
0
votes
0answers
27 views

Apache mod_proxy redirect with absolute domain

I am using the example from apache to rewrite a url with proxy: RewriteRule ^widget/(.*)$ http://product.example.com/widget/$1 [P] I want to set a absolute domain for this: RewriteRule ^de....
0
votes
1answer
749 views

Tomcat Clustering With Apache-[warn] proxy: No protocol handler was valid for the URL /. If you are using a DSO version of mod_proxy

I am new to apache and tomcat, and trying to implement clustering with mod_proxy and able get run multiple tomcat instances but got stuck. Here is my config: httpd.conf: LoadModule proxy_module /usr/...
1
vote
0answers
134 views

Dynamically Adding BalancerMembers to Proxy

Running Apache 2.4 I would like to be able to dynamically add BalanaceMembers via API to a balancer group in the proxy_balancer module. There are hints that this is possible. The documentation for ...
0
votes
1answer
206 views

apache mod_proxy and original URL

I have apache 2.2 mod_proxy working well for the most part, but are having some trouble with some of our newer tools. We have the config file for one server below. Our problem is, when a user goes ...
0
votes
1answer
540 views

whitelist URI on mod_security enabled apache reverse proxy

I have an apache 2.2.29-1.4 with mod_security 2.8.0-5.25 which is a reverse proxy with mod_proxy_http for a local java application. I have false positive on some urls and would like to whitelist some ...
0
votes
2answers
182 views

Apache load balancer won't forward to second balance member

I'm trying to figure out what is wrong with my apache config that is preventing the balancer from calling the second BalanceMember on port 9001. Or even some kind of troubleshooting options. Apache ...
2
votes
0answers
803 views

Efficient setup for fronting application servers with Apache

I have to front various application servers (in the beginning this will be JBoss 6, Tomcat 8 standalone and Tomcat 8 embedded into spring boot 1.2 apps) with an Apache 2.4. Because of this I decided ...
0
votes
1answer
450 views

Apache Tomcat + Apache2 + mod_proxy: Issues regarding cluster

I have a Tomcat 7.0.57 cluster setup behind an Apache2 using mod_proxy. Setup: Apache2: 192.168.2.139 Tomcat Node1: ajp://192.168.2.166:8010 (http connector also defined on port 8082) Tomcat Node2: ...
0
votes
1answer
219 views

Force httpd 2.0 mod_ssl to use TLSv1 for proxied handshakes

I have an instance of httpd (version 2.0) that uses mod_proxy to transform incoming http requests to https. My problem is that I need my proxy to connect to a server that only supports SSLv3/TLSv1 ...
2
votes
1answer
210 views

Force Apache proxy_balancer to specific worker

I would like to have two tomcat servers behind a proxy_balancer so I can do rolling deploys. I have this working so I can take down one tomcat and the other takes futire requests <Proxy balancer:/...
1
vote
1answer
2k views

Setting up basic proxy from https to http via Apache

I need to proxy some remote api https://example.com/api/ to be accessible locally as http://localhost/api/ I tried putting this line in httpd.conf: ProxyPass /api/ https://example.com/api/ ...
0
votes
1answer
667 views

How to correctly configure Apaches mod_proxy for GitLab under a suburl in combination with other suburls

I have a server on which I want to run GitLab beside other services. After googling around for some time I found out that I need to do some mod_proxy tricks to get Apache2 to forward requests to ...
1
vote
0answers
398 views

Nginx always gives “502 Bad Gateway”

I am using axis2 web server. I want to access it through Nginx. Here is my nginx configs server { listen 443; server_name malintha.com; ssl on; ssl_certificate ...
2
votes
2answers
2k views

ProxyPass only if file doesn't exist

I've seen this example: RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f RewriteRule ^/(.*)$ balancer://app_cluster%{REQUEST_URI} [P,QSA,L] I need a similar thing that will delegate to ...
0
votes
1answer
671 views

apache mod proxy_wstunnel invalid utf8 during websocket upgrade

I am experiencing an intermittent problem when connecting the jetty web-socket client to the server. The good people at Jetty assure me it is not a problem with Jetty. On the server side I have ...
0
votes
1answer
140 views

ProxyPass Not working (No errors)

I am attempting to forward one of my apache domains onto a different port (which is hosting an Nginx-backed rails app) In my http.conf for the particular virtual host I have: <VirtualHost x.x.x.x:...
3
votes
1answer
113 views

Apache Reverse Proxy Unescapes URL

I am running Apache 2.2.15 as a reverse proxy in my DMZ. I have an application on the internal network that I make available on the Internet for staff to use by going through the reverse proxy. As ...
0
votes
3answers
1k views

icecast and apache on the same port (mod_proxy, mod_rewrite)

I have an icecast server running on port 8000. I can access the server fine as LINK1 (see below) from the internet. In addition, I created a small HTML page with some info that also embeds the HTML5 ...
0
votes
1answer
745 views

Setup Cas authentication for Zabbix ui through mod_proxy

I try to implement setup a CAS authentication for Zabbix UI. So i configured Zabbix authentication to http-based authentication I have a first (and public) httpd server, i setup here mod_proxy, ...
3
votes
1answer
315 views

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: <...
-1
votes
1answer
94 views

Reverse proxy for 2 domain with same context path

I have 2 different domains my.domain1.com and my.domain2.com and both have context name /app1 and this should be routed to two different backend boxes. Problem here is my.domain1.com is running on ...
1
vote
0answers
437 views

Lighttpd and Discourse (Docker): configuring mod_proxy

I have trouble configuring Lighttpd to serve the various services hosted on my server. Lighttpd acts as a front, and I have several DNS records, each for a different subdomain, redirecting to the same ...
1
vote
1answer
241 views

Can't serve gollum wiki with Apache

EDIT: Finally I solved the problem and posted the solution below. I have a gollum wiki served by a sinatra server on a localhost port 4567. I want to make it accessible from outside world at www....
1
vote
1answer
293 views

Apache http + Jboss + mod_proxy or mod_proxy_html

I am developing a Java EE web app running on JBOSS. I want users to authenticate in my web app using their smartcard's X.509 authentication certificate yo access the web content. I have decided to ...
1
vote
0answers
200 views

What does Nginx Proxy Filter in Fail2ban really do?

What does Nginx Proxy Filter in Fail2ban really do? I am currently setting up Fail2Ban for Nginx. Almost everywhere I've read, they all have included a setting for [nginx-proxy] proxy filter. From ...
-1
votes
1answer
281 views

Apache & mod_proxy - What's wrong?

I am limited to one external IP on my server thus to run a mail server alongside with other Apache instance for web hosting, I believe I am forced to use mod_proxy. I tried using mod_proxy in the ...
1
vote
1answer
808 views

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: <VirtualHost *:80> ServerName rabbit.example.com ProxyRequests Off ...
0
votes
1answer
217 views

Proxy Exchange Server using mod_proxy

I'm having a problem getting my Exchange Server to work with mod_proxy. This is my current VirtualHost config: <VirtualHost *:80> ServerName mail.example.com ServerAlias www.mail.example.com ...
1
vote
0answers
241 views

Apache mod_proxy cuts off URLs at spaces

I have the following proxy rule on www.example.com/.htaccess RewriteEngine On RewriteRule ^(.*)$ http://www2.example.com/$1 [P] Requests for http://www.example.com/images/properties/resized%...
2
votes
1answer
1k views

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

Apache mod_proxy_balancer health checking

I have 3 Apache web servers set up behind another Apache server running mod_proxy_balancer. During today, one of the web servers got rebooted. It took about 16 minutes to reboot. During that time, I ...
1
vote
1answer
3k views

Apache load balancer didn't failover to hot spares

Found that our Apache load balancer didn't failover to the hot spares when the primary server's application was responding with a 500 error. This is how we had the proxy setup <Proxy balancer:/...
2
votes
1answer
4k 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
0answers
129 views

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

Apache mod_proxy

Uggh, I'm spewing that I can't figure this out, I'm so frustrated: <VirtualHost *:80> servername domain1.com.au ServerAdmin webmaster@localhost DocumentRoot /var/www/...
1
vote
0answers
392 views

Unable to do “big” POST request with Apache2 and ProxyPass

I have an apache2 server, configured with proxypass to access a servlet which runs under Jetty. Now I have a problem with large POST request (600KB). The configuration is as follows: <Location /...
2
votes
1answer
1k views

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/$...
0
votes
1answer
519 views

Proxy to sites that expect to be at root URL?

I have ActiveMQ and Accumulo running which each have their own web console. I'd like to put apache httpd in front of them. I setup mod_proxy and added the following to /etc/httpd/conf.d/proxy.conf ...
0
votes
2answers
357 views

FreeBSD Apache 2.4 rewrite/proxy module errors

Just set up a FreeBSD jail to run httpd in it and all works good except these two, rewrite/proxy modules. These are error logs excerpts: mod_rewrite error: [rewrite:crit] [pid 43447] (13)...
0
votes
1answer
64 views

Possible to map a directory to another server (for independant Wordpress install)?

We have EC2 instances that I would like to not contain a wordpress install, and instead ideally map a folder to a different server, and run it under the same domain. For some reason, this is ...
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 (...
2
votes
1answer
230 views

Apache: Difference between <Proxy> and ProxyPass

What is the difference between a ProxyPass directive: ProxyPass / http://localhost:8080/ nocanon ProxyPassReverse / http://localhost:8080/ And a <Proxy> directive: <Proxy ...
1
vote
1answer
535 views

Apache: Add a prefix to all URLs in a virtualhost

In one of my machines I have an internal server which listens at port 8090. I am using a virtualhost in Apache to proxy the internal server using a URL like servera.mydomain.com: <VirtualHost *:...
0
votes
0answers
94 views

Can you do a masked URL rewrite to a different protocol (in Apache)

Apache 2.2.15; I want to do: RewriteCond %{HTTP_HOST} site1.com RewriteRule (.*) https://site2.com [R=301,P,L] But that does not work. I put the P in there thinking it might allow the mod_proxy ...
5
votes
1answer
12k views

Proxy Pass not working

I am attempting to get ProxyPass to work on my OpenSUSE 13.1 install. I have tried: a2enmod proxy a2enmod proxy_http a2enmod proxy_connect systemctl restart apache2 systemctl reload apache2 (All ...
0
votes
1answer
1k views

apache2 reverse proxy 404 error

I have set up an apache2 server. I am trying to enable a site to reverse proxy in which I will redirect /registry to :5000. I have apache2 up and running and am able to reach the default page () but ...
0
votes
1answer
820 views

Using Apache as a proxy with chunked encoding and digest authentication

I'm experiencing a strange problem. I'm using Apache as a proxy and submitting data using chunked encoding. The issue that when I try to use digest authentication in this configuration the proxy just ...