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

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 ajp://localhost:8080/home I was hoping if there is a…
JonathanC
  • 1
  • 1
0
votes
1 answer

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 server1 which is running apache. When a user vists…
Mutuma
  • 111
  • 6
0
votes
1 answer

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: example.com/forum The other server runs nginx…
Mutuma
  • 111
  • 6
0
votes
1 answer

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 proxy.mydomain.com:8085 I set round-robin for this subdomain with 20…
knm
  • 5
  • 2
0
votes
1 answer

Apache w. mod_proxy or Static Media Server in front?

I'm setting up a Django server with Apache + mod___wsgi and nginx as a static media server. Which server should I put in front of the other? Apache using mod___proxy or nginx? I've heard different people say different things. From what I…
jamting
  • 103
  • 4
0
votes
1 answer

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://example1.com/index2.html ProxyPassMatch…
Olaf
  • 99
  • 2
  • 3
  • 7
0
votes
0 answers

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.domain.com/widget/(.*)$ …
Mutatos
  • 111
  • 4
0
votes
1 answer

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 OWASP rules just on the given URIs. Currently…
golemwashere
  • 734
  • 1
  • 10
  • 22
0
votes
1 answer

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: ajp://192.168.2.166:8011 (http connector also…
Mosh Pit
  • 339
  • 2
  • 4
  • 13
0
votes
1 answer

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 Client Hello handshaking. As a test, I've tried…
Chris Mendez
  • 166
  • 6
0
votes
1 answer

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 apache with mod proxy_wstunnel proxying to tomcat 7.…
Rian
  • 101
  • 4
0
votes
1 answer

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:
Jay
  • 9
  • 2
0
votes
1 answer

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, on zabbix context. with this configuration…
Antoine
  • 305
  • 1
  • 3
  • 11
0
votes
1 answer

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.mysite.com/wiki I have appache-2.2 server running on…
tnorgd
  • 105
  • 4
0
votes
1 answer

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 use Apache http server with JBOSS using mod_proxy,…
william
  • 1
  • 2