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
votes
1answer
538 views

How to Configure Apache mod_proxy to proxy Glassfish 4.1 on Fedora 21?

i have glassfish 4.1 running and checked the JK-Listener option on http-listener-2: also i already installed apache (sudo yum install httpd) and created the following file on /etc/httpd/conf.d: ...
0
votes
0answers
80 views

How do I stop httpd mod_proxy forwarding authentication to target server?

I've got the following setup on httpd <VirtualHost 1.2.3.4:443> SSLEngine on SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP SSLCertificateFile ...
1
vote
0answers
62 views

How to use mod_proxy to proxy one call to multiple endpoints?

We are in the process of migrating jobs from an old Jenkins CI server to a newly built one. In the meantime most of the repositories on our Git server (Stash) are configured to invoke a git-hook on ...
0
votes
1answer
105 views

Apache losing VirtualHost configurations “randomly”

I am hoping someone might be able to shed some light on this issue that I have had no luck solving elsewhere. We are running an Apache (2.2.15) server used for basic load balancing, but ultimately ...
0
votes
0answers
59 views

Is there a way to redirect HTTP to HTTPS using mod_proxy_ajp or this could be done only at mod_rewrite side?

What is the easiest way to redirect http to https when mod_proxy_ajp is used? I have the configuration below for mod_proxy_ajp: ProxyPass /home ajp://localhost:8080/home ProxyPassReverse /home ...
0
votes
0answers
139 views

SSRS 2012 Native Through Apache Proxy

I am trying to find a solution for getting MS SQL Reporting Services working through an Apache proxy. I have been at this about a week now and narrowed down what I can and cannot do quite a bit. I ...
0
votes
0answers
144 views

How to Setup Apache as a reverse proxy to another ip

I have a wordpress site example.com running from apache on server1 and example.com/forum running on a different server(server2). I have a Single Domain SSL Certificate which is not limited to a ...
0
votes
1answer
93 views

How to share a Single Domain SSL certificate across 2 ip addresses

I have a wordpress website example.com. I have a single domain SSL certificate that can be used across multiple servers. When a user visits example.com, or any subfolder expect forum , they access ...
0
votes
1answer
302 views

Apache 2.4.12 Redirect Wordpress subfolder to another server ip address

I am running wordpress inside the laravel public folder which acts as the root of my site. How do I redirect to another server ip address i.e. (xx.xx.xx.xxx) when one accesses the following subfolder: ...
0
votes
0answers
147 views

Disable connection pooling on apache 2.2

Recently I've setup 2 new Reverse Proxy with apache 2.2 to access an application hosted in Jboss. In front of apaches there is a Load Balancer with just Round Robin, and between the apaches and Jboss ...
0
votes
1answer
180 views

Apache Proxy & Basic Auth

Im trying to set up an Apache Proxy which also does LDAP Basic Auth: <IfModule mod_ssl.c> <VirtualHost _default_:443> ServerAdmin webmaster@localhost ...
0
votes
0answers
80 views

Apache - Reverse Proxy and Rewrite Content

I'm looking for some hint or mash-up example on how to configure Apache to be able to encrypt and decrypt values, more or less injecting my code when loading the page or by parsing the page on the ...
0
votes
0answers
24 views

One session data for two domains

i have two different domains: domain1.com domain2.com I need to display a website from domain2.com on domain1.com. Now i use mod_proxy for this, like this: RewriteEngine on RewriteCond ...
0
votes
1answer
84 views

Apache mod_proxy ProxyRemote to round-robin DNS - always the same subnet

I set forward proxy server using apache mod_proxy, which connects to 20 other proxy servers using ProxyRemote feature. You can set just one URL for ProxyRemote , in my case it's ...
2
votes
1answer
944 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
43 views

mod_proxy - Alter single path before sending to proxy

I am using a simple ProxyPass configuration: ProxyPreserveHost On ProxyPass /somedir http://proxy.example/somedir ProxyPassReverse /somedir http://proxy.example/somedir Is it possible to change the ...
1
vote
0answers
30 views

mod_proxy_balancer does not remove dead servers

We use the current configuration (slightly obfuscated) to balance 2 web servers against 4 application (Tomcat) servers, using JSESSIONID; each web server has this exact same configuration for ...
0
votes
1answer
434 views

Session lost in Jetty using Apache as proxy [closed]

I have an application based on eXist-db. It's basically a Java web application that uses Jetty. It runs on the remote Linux server behind Apache proxy. I use the following Apache configuration: ...
1
vote
0answers
57 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
75 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
0answers
91 views

proxy subdomain with Apache

I have setup ghost on my Digital Ocean server and it works for localhost:2368, but I am having trouble setting it up so that when I enter blog.mydomain.com it will redirect to local localhost:2368. I ...
0
votes
1answer
121 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 / ...
0
votes
0answers
43 views

Apache mod_rewrite with proxy to HTTPS from HTTPS host

I am trying to use the mod_proxy to rewrite internal one URL to another in this way: RewriteCond %{HTTP_HOST} ^www\.domain\.de$ RewriteCond %{SERVER_PORT} ^443 RewriteRule ^blog/(.*)$ ...
0
votes
0answers
26 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 ...
0
votes
1answer
576 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 ...
1
vote
0answers
105 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
0answers
11 views

IIS - 1 website, multple domains, wildcard ssl or another method?

First of all I am a bit of a beginner but I am hopefully using the right terminology below. A lot of this will be guess work. We use a CMS which has a master portal (with many sub-portals) which is ...
0
votes
1answer
182 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
414 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
154 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
600 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
332 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
181 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
180 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 ...
0
votes
1answer
1k 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
574 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
329 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
1k 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
565 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 ...
1
vote
1answer
125 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 ...
3
votes
1answer
101 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
764 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
591 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
247 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
86 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
344 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
217 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 ...
1
vote
1answer
251 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
174 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
238 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 ...