Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

-1
votes
1answer
46 views

Apache header editing

I have setup with apache (apache 2.4, redhat 7.6) reverse proxy in front of the JVM. Apache has basic authentication setup on it. The problem is that Apache header with info about basic ...
0
votes
0answers
21 views

Apache mod proxy load balancer fail over conditional

I have a configuration similar to this one: <VirtualHost *:80> <Proxy balancer://X_Balancer> BalancerMember http://server1.sth/ BalancerMember http://server2.sth/ BalancerMember ...
0
votes
1answer
42 views

Ejabberd mod_proxy65 option issues

I have problem with mod_proxy65 and ejabberd 16.09-4. Ejabberd crash when I try to use configuration for mod_proxy65. Long ago I used mod_proxy65 with ejabberd 2.x and worked without problem. When ...
0
votes
1answer
18 views

Redirect https and http requests to my web app in tomcat from apache

I have a spring web application running in tomcat which I can access using https://example:8080/myApp. I have installed Apache2 to redirect port 443 requests to tomcat. now I can Access my application ...
1
vote
0answers
49 views

Apache SSL reverse proxy to a node server using websockets

Browsing to a root domain like https://sub.example.com and navigating through pages such as https://sub.example.com/page1 works. But only if I start my initial connection at the root. If I refresh ...
0
votes
0answers
13 views

Exclude Proxy paths not working

I am trying to setup reverse proxy for a wordpress site. The problem is that I am trying to exclude wordpress rest api paths and the .xml files but having no success. The exclude rules for wp-admin, ...
0
votes
0answers
22 views

Nginx is not passing request to App server in case of => special character in URL

I have strange problem, I have special characters(=>) in URL which is more of business requirement(sorry, so I can't change it). Here is specific scenario- I'm using nginx as web server and proxy ...
0
votes
1answer
25 views

Apache proxy redirect URLs with specific string

I have a server which runs 2 applications. I am using a public IP address and I want to parse the url in a way if a specific text occurs the call is redirect to a specific port. In my case I want that ...
0
votes
0answers
39 views

Apache - Proxy with amqp protocol

I'm trying to configure the proxy server with Apache Httpd 2.4 with Active MQ protocol amqp, but it seems this is impossible since apache doesn't support it with any mod_proxy modules. <...
1
vote
1answer
22 views

Does Apache proxy_mod support repeated directives?

For example is: <Proxy balancer://blah> BalancerMember ajp://127.0.0.1:8080 Proxyset lbmethod=bytraffic Proxyset stickysession=JSESSIONID Proxyset timeout=5 </Proxy> interpreted in ...
0
votes
1answer
31 views

ReverseProxy Wildcard?

Is it possible to have a wildcard for a reverse Proxy using ProxyPass? I've seen similar config below for ProxypassMatch, so I tried to model it off of that using just proxypass ProxyPass ^/...
0
votes
0answers
37 views

Using Apache HTTPD mod_proxy_balancer for many vhosts

I have an Apache httpd 2.4.34 configuration with many vhosts (~4000) mostly used for redirecting and SSL-offloading using mod_proxy to access the backend. Now I want to switch to mod_proxy_balancer ...
0
votes
0answers
64 views

Apache forward proxy rewrite destination

I'm trying to setup Apache 2.4 as a forward SSL proxy so it can function as my main entrance point to Docker containers. The virtual host works when I send it an http address, but not for https. The ...
0
votes
1answer
37 views

Apache doesn't listen on all ports configured with virtual host and reverse proxy

I have a host (Ubuntu 16.04) and a virtual machine on it. I want to use apache to forward different ports to the VM with the reverse proxy modul. The problem is, that apache doesn't listen on all ...
1
vote
1answer
267 views

Apache and PHP-FPM security with mod_proxy_fcgi

I use PHP-FPM in a shared hosting configuration. Each FPM pool runs as a different user. Apache runs as www-data. Apache connects via a socket using mod_proxy_fcgi. I allow users to use .htaccess ...
0
votes
2answers
75 views

Apache2 URL Rewrite with Reverse Proxy

I've been trying to accomplish a goal of using Apache as a reverse proxy to translate HTTP to HTTPS as well as using mod_rewrite to inject a query string. The reverse proxy works if tested without ...
0
votes
0answers
23 views

Is it possible to exclude a directory with ProxyPassReverse?

I'm looking to exclude a directory from a site is behind a reverse proxy. examples I'm seeing are using ! , but I haven't been able to solve this See examples that I've tried below. Legacy system ...
0
votes
0answers
34 views

Apache 2.4.18 (RedHat) Failonstatus Directive Not Shutting Down Worker Node w/ 503 Status Error

Overview - RedHat 6 - Apache 2.4.18 - Dell Boomi Status Code 503 Atom is shutting down I have an Apache httpd24 web server running mod_proxy and mod_proxy_balancer. My test includes 2 worker nodes ...
1
vote
1answer
34 views

Best way to add authentication layer to static file requests?

I am trying to figure out the best way to add an authentication check to requests for static assets on my server. I am running Apache2.4 and PHP/Laravel, which runs by serving static content ...
0
votes
0answers
58 views

Apache Proxy Balancer fails to recognize a dead server

I have two VMs, with identical configuration, but one of them fails to recognize secondary BalancerMember as not available. Server version: Apache/2.4.6 (Red Hat Enterprise Linux) Server built: May ...
0
votes
0answers
11 views

Apache Proxy to wrong address

A have the follow strutcure in my site. http://frontend.example.com/app1 http://frontend.example.com/docs/app1 To proxy the app1 RewriteRule /app1(.*) https://anotherserver.example.com/app$1 [R,L] ...
0
votes
2answers
29 views

apache2 reverse proxy, rewrite issue

I keep telling myself this should be simple. Background: I had a site set up (https://example.com) using Let's Encrypt for the SSL setup. Works great. I added a new server to the internal network with ...
0
votes
1answer
18 views

apache2 reverse proxy configuration

I have one application that listens on TCP 127.0.0.1:81. I want to accomplish the following redirection: www.example.com/?requestid=123456 --> http://127.0.0.1:81/?requestid=123456 www.example....
1
vote
2answers
68 views

mod_proxy for apache/redhat not working

We have the following scenario: First APP: http://example.com:8090/access/app1 Second APP: http://example.com:8090/access/app2 We want to configure apache mod_proxy to assign: http://app1.example....
0
votes
1answer
361 views

Lighttpd reverse proxy HTTPS to another server on HTTP

I've a Lighttpd server running on HTTPS, and I want to have one subdirectory on the server act as a reverse proxy for a separate server that runs on HTTP. I've tried following guides on doing both ...
0
votes
1answer
32 views

Re-route from Internal IP to to Domain URL in Apache using ProxyPass

I have a server with IP 100.00.0.00 that hosts multiple applications one of them has the domain example.com. I have an external application that will request from my server like below but the ...
0
votes
0answers
47 views

configure apache to use authenticated corporate proxy for some urls

I need to access a REST services on amazon which requires internet connection, however my design server is on a VM which does not have a direct open internet connection. The access is possible through ...
0
votes
1answer
155 views

How to debug why enabling mod_proxy_html results in a blank page?

Background I have four Windows servers, running Server 2012 R2, running Apache 2.4 on each. These are arranged into two pairs of load-balanced web servers, with the first pair facing the internet, ...
1
vote
0answers
78 views

Apache mod_ext_filter and mod_proxy

I have a problem using apache mod_ext_filter and mod_proxy. I wrote a per script (add-promo.pl) in order to add some tags to HTML page. My problem is that Apache don't run this script. I have ...
0
votes
1answer
348 views

ProxyPass changes 304 status to 200 and adds content-type

The probelm I am running a node server (sqlpad) through an Apache2 reverse proxy. On some requests, the node server returns a 304 status code with no Content-Type when accessed directly. However, ...
2
votes
1answer
773 views

apache 2.4 ProxyPass directives not working in RHEL7.5

I'm having trouble setting up a reverse proxy with apache 2.4.6 on RHEL7.5. I have the following virtualhost which sends requests to 3 backends: <VirtualHost *:80> ServerName www.example....
0
votes
1answer
171 views

Httpd Location directive seems to suppress Substitute

I'm trying to hide a PWM registration page (whose URL is /pwm/public/newuser) behind the existing server http://customers.example.com, under the reserved path /register, so that pages like http://...
0
votes
1answer
35 views

httpd redirect to main apache test page

I have a task to configure site-config like: 1) * must be redirected to backend 2) /test must show main apache page I've tried some cases: <VirtualHost *:*> <Proxy balancer://mycluster&...
0
votes
0answers
24 views

How to configure Apache to close pooled proxy connections after a certain time limit?

Using httpd 2.2 on CentOS 6, I'm trying to setup a handful of forward proxies using mod_proxy/ProxyPass, several of which should reuse connection pooling for a limited time (15 seconds, in my case) ...
0
votes
0answers
144 views

Apache2, Safari : Exclude Basic authentication for websockets

We have a Spring-MVC application running on Jetty server which runs on Cometd. For Cometd we are using Websockets. For Websockets, the connection is upgraded from https to WSS. We also have basic ...
0
votes
0answers
68 views

apache mod_proxy persistent

Im using apache mod_proxy to LB 2 tomcats in a server using apache and sticky session. I need session time outs to be set 30 minutes So I have following parameters in httpd.conf Timeout 1200 ...
0
votes
0answers
77 views

Apache ProxyPass ActiveMQ's stomp

I've been developing my app locally with a apache webserver having the page served over :80 and my activemq connections over :61613. Now, scaling to cloud, I want to access my activemq instance like ...
1
vote
1answer
140 views

Apache mod_proxy balancer config issue with POST request

I am trying to setup a Load balancer with Apache mod_proxy and Tomcat. I have the following modules available (mod_proxy, mod_proxy_balancer, mod_proxy_http) I have 2 Tomcat instances and the plan is ...
1
vote
0answers
23 views

Apache proxy: Accept client timeout but keep connection alive with back-end server

We have an Apache 2.4 proxy in place between an app we're developing and a third-party app which does a lot intensive image rendering. We're basically using the proxy as a way to throttle connections ...
1
vote
1answer
706 views

How to debug why my mod_proxy is giving a “No protocol handler was valid” error?

I am trying to set up Apache as a frontend proxy to a Docker app. I have done this several times in the past, but for some reason, the new Ubuntu VPS I have is not co-operating. I'm using Apache/2.4....
0
votes
0answers
274 views

Apache https to http proxy: Backend redirects to plain http

I've got the following apache config: <VirtualHost *:443> DocumentRoot /srv/empty SSLEngine on SSLCertificateFile /srv/certs/public.pem SSLCertificateKeyFile /srv/certs/private....
0
votes
1answer
204 views

Apache balancing towards Weblogic backends, mod_wl vs mod_proxy_balancer

for a lot of years now, we have been using an Apache Server with Mod_wl plugin to balance sessions towards multiple backend Weblogic webservers. Now after a a while we also started using the same ...
1
vote
0answers
157 views

Apache mod_rewrite and mod_proxy conflict

I am using Apache, mod_proxy and mod_rewrite I wish for the following: https://www.example.com.*?secure=true to return a 403 https://www.example.com.* to proxy to https://www.example.org I have ...
0
votes
0answers
53 views

Is it possible that apache would not ignore Aliases with ProxyPass

I have a set of aliases in apache config. But when i add proxypass redirect to /(root) url all of them are being ingored by apache and are redirecting to proxypass url http://localhost:8080/ Alias /...
0
votes
0answers
407 views

Apache mod_proxy sticky session not working occasionally

We are having four Tomcats load balanced with Apache mod_proxy (mod_ajp). mod_proxy is configured as follow, lbmethod=byrequests and sticky_session enabled. But occasionally we have noticed that ...
0
votes
0answers
82 views

Apache URL based proxy redirection

I've recently installed PLEX Media Server on my server but i have some dificulties to hide it behind an Apache proxy... I've found this vhost configuration to allow a subdomain based access to PLEX (...
1
vote
0answers
836 views

Using Apache to relay wss (web-socket) protocol to backend

I'm using Apache 2.4.27. I need to tunnel a client's wss request through an Apache reverse-proxy, to a backend server. However, from a tcpdump, it appears the wss request is being rejected by the ...
0
votes
0answers
37 views

Rewrite HTTP CONNECT request hostname

I have a 3rd party Java application that now needs to be run with a Proxy Server between it and its backend resources. As an aside: I can't modify the 3rd party app, and it appears to make '...
0
votes
0answers
26 views

nginx apache sessions by GET method

We have and old windows webserver that doesn't manage cookies so we are using a workaround (since 7 years ago) which consist on using GET sessionID in visible URLs: www.website.com/INDEX.pro?...
0
votes
2answers
419 views

ProxyHTMLURLMap not modifying JavaScript file

I'm using Apache 2.4.27 as a Reverse Proxy and I am having trouble with some of my ProxyHTMLURLMap directives. I have a proxy-server and a backend server, called server1. I have a JavaScript ...