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.

Filter by
Sorted by
Tagged with
0
votes
0answers
24 views

Apache ProxyHTMLURLMap with string substitution from LocationMatch

I am trying to build an Apache reverse proxy to make a dynamic bunch of servers accessible through a single point of access. The servers all offer a web admin interface on port 3000, and I intend to ...
0
votes
1answer
18 views

Route traffic from certain site/url to a number of hand-picked nodes in a load balanced environment

I inherited a loadbalancer (mod_proxy) setup consisting of 5 nodes. The setup serves a number of 6 sites (site1, site2 etc, with shared disk space) and would like to know if there is a way to route ...
1
vote
0answers
34 views

Apache2 mod_substitute not working in <Location>

I have a working Reverse Proxy that is active only on a specific Location in my site, in this case for example: www.example.com/reverseproxy/site1 I am reverse proxying site1. I want to replace some ...
0
votes
0answers
15 views

Configure Apache Web Server (shared hosting) to provide simultaneous Web and Websocket Access

I'm trying since some days to find a way to configure simultaneous websocket and web server connections with one same Apache Web Server I have on a shared hosting basis. Now, before giving that up and ...
0
votes
0answers
10 views

Downloading files to proxy server

I have a bunch of Raspberry Pis that users will periodically download files to. All the files are stored on a my web server. I figured the easiest way for them to download the files would be to ...
0
votes
0answers
11 views

Apache2 mod_proxy with external 303 redirect

I have a small server applet being hosted externally through apache2's mod_proxy. The internal applet is hosting through port 8080. When I query the path internally: Query: http://localhost:8080/...
0
votes
1answer
22 views

What components of a url are rewritten with apache mod_proxy in a Location tag?

<Location /partA> ProxyPass https://example.com/partB ProxyPassReverse https://example.com/partB </Location> What URLs are called on the remote server? http://example.net/testA/...
0
votes
0answers
137 views

how to fix apache2 “proxy_http:error” AH01102: error reading status line from remote server localhost:4382

how to fix apache2 "proxy_http:error" AH01102: error reading status line from remote server localhost:4382. I have an apache2 webserver which is being used to serve few nodejs applications in the ...
1
vote
1answer
39 views

Does Apache reverse-proxy pipeline requests to origin servers?

When configuring Apache as a reverse proxy (i.e. using ProxyPass or RewriteRule [P]), does it ever pipeline the requests to origin servers, or are they always sent non-pipelined? This is important to ...
0
votes
1answer
94 views

Issue with configuring php-fpm mod proxy on centos 6

I'm configuring PHP_FPM on a Centos 6 distribution. I'm using php 5.4.45 and apache 2.2.15 and the "mod_proxy.so" to call the socket. But with the following Vhost and php-fpm configuration I still get ...
0
votes
0answers
51 views

Nginx: How to map the internal Ip addresses and proxy using ngrok without redirecting

I have two device which can be accessed only using internal network. To access it externally i have installed nginx in raspberry device and added a redirect within nginx like location /device1 { ...
0
votes
0answers
29 views

Configure Apache to ignore HTTP POST request retries

We have an Apache server configured as a reverse proxy, forwarding the request to a JBoss server. One of our POST request can be relatively long (between 1 and 2 minutes). However, although the POST ...
0
votes
0answers
52 views

apache2 mod_proxy working awesome for http://urls and not for https://urls for curl requests

I have proxy setup with apache2 mod_proxy, Note: I did not change proxy port When I try curl -x http://proxyurl:80 -L http://destinationservice.com Now it works, but when i try with https://...
0
votes
0answers
6 views

Apache2 and proxy: how to configure it so that 503 errors are returned as 502

We are using Apache2 and mod_proxy balancer to route certain requests to app servers. If the app server is down Apache will return 503. Now, we would like to use Cloudflare "Always On" for these ...
0
votes
0answers
39 views

Apache mod_proxy_http2 as forward proxy

I'm trying to configure apache as a HTTP/2 forward proxy using mod_proxy_http2 to translate requests from HTTP/1.1 to HTTP/2 protocol. Something like this: [Client] ---(HTTP/1.1)---> [Proxy] ---(...
0
votes
0answers
87 views

Apache httpd server-status interpretation of connstotal vs busyworkers with MPM Event

I am seeing a behaviour that makes our apache httpd servers unresponsive in production with very high connection concurrency. The servers are configured to use MPM Event mode. I am monitoring the ...
0
votes
0answers
35 views

apache relative ajax request forwards to tomcat on same server

On my linux server i have apache http (http://a.b.c.d:80) & tomcat (http://a.b.c.d:8081/myapp) installed. On apache http i have a basic app which makes ajax requests to an app installed on tomcat (...
0
votes
1answer
33 views

Using Apache2 mod_proxy to different server while keeping .htaccess rules somehow working

I am trying to move a part of my website to an external server. I want this part to be accessible through a subdomain, while still being able to apply RewriteRules (doesn't matter whether thats done ...
0
votes
1answer
29 views

CSS & images breaking after mapping application deployed on Tomcat to my domain

I've installed Tomcat 9.0.27 on my Digital Ocean droplet running Ubuntu 18.04.3. I deployed my Java WAR on Tomcat and am able to access it on the URL: http://example.com:8080/app_name I want to be ...
0
votes
0answers
536 views

No protocol handler was valid for the URL / (scheme 'ws')

Trying to setup a websocket proxy using apache2, I get the following error: No protocol handler was valid for the URL / (scheme 'ws'). If you are using a DSO version of mod_proxy, make sure the ...
0
votes
0answers
35 views

Apache mod_proxy not mapping incoming port to local IP address

I'm trying to allow another device on the same network to access an app running on my local machine within a VM. The local IP of the app within the VM is accessable at http://192.168.10.10/ If I load ...
0
votes
0answers
16 views

Apache Froward Proxy Connection Timeout

i dont know what i broke in my setup but all of a sudden my apache forward proxy stopped working out of no where, even though i reverted back to the old configuration. here it is: ...
0
votes
0answers
31 views

Proxy a domain from one server to another and retain domain name

I have a single external address that points to a server that is serving multiple domains using virtual hosts. I would like to serve one of the virtual hosts on a new physical machine and am trying to ...
0
votes
0answers
120 views

apache cache forward proxy not working

I'm using apache-2.4.41 on gentoo and I can't get working caching of proxy request I started with simple config from apache cache howto and extended it from several other howto or Q&A, like this ...
0
votes
0answers
59 views

Apache mod_proxy returns a blank page with 200 status code

I'm running Apache 2.4.39 with mod_proxy on FreeBSD. I use this config to forward the requests to some remote web servers (IIS). All of them work fine, except one (the others are configured the same): ...
0
votes
0answers
16 views

apache2 Basic Proxy Pass not working

I am currently trying to set up a Vhost which links to a NodeJS App running on another port, however I can't make it work. The vhost enables without any problems and apache2 reloads/restarts without ...
0
votes
1answer
565 views

504 Gateway timeout cause 70007 on Apache 2.4 + mod_proxy Ubuntu 18.04

I am tired of so many tries to fix 504 Gateway timeout from mod_proxy in Apache 2.4 using PHP-FPM. So i try to find a solution here. Actual i plan to migrate a Software from an old Apache Server to a ...
1
vote
0answers
190 views

mod_proxy bad gateway after upgrading from 2.4.34 to 2.4.39

I have the following in my Apache Config, no changes have been done, it will work in Apache 2.4.34 but after upgrading to 2.4.39, it starts to throw Bad Gateway error. under mod_proxy.c ProxyPass /...
0
votes
0answers
23 views

Modify username in Apache2 ReverseProxy/mod_proxy_ftp

How to modify the username that Apache2 uses in the ReverseProxy configuration when proxying an FTP resource? User --[HTTPS]--> Apache2 --[FTP]--> FTP Server ProxyPass does work and forwards ...
0
votes
1answer
40 views

Modify response URL or Location header Apache2 mod_proxy

I have a WordPress site running in a server where now I need to deploy a web app on and since our SSL certificate is not wildcard it has to be under the same domain name too. Now it's running on a ...
0
votes
1answer
632 views

Apache HTTPD rewrite backend proxy HTTP error 500 to 503

I have two use cases: HTTPD is a proxy for a Tomcat application HTTPD is a proxy for a PHP application For compliance and security needs all 50x errors must be rewritten to 503 prior to sending back ...
0
votes
0answers
20 views

can maxattempts affect to balance?

I'm using Apache web server, and two WAS. And using mod_proxy for load balancing. When load balancing, "A" takes 1.5 times more load than "B" However, if I change "maxattempts" to 3 (the default is 1)...
0
votes
0answers
42 views

Apache forward proxy client certificate

I am setting up a forward proxy for integration with an external API. the communication flow is as below internal app --> ForwardProxy --((2way SSL))--> external API The solution i am looking ...
1
vote
1answer
369 views

substitute url with apache mod proxy

I have configured a new vhost on apache 2.4 and when I tested the configuration all work fine but only one page is not redirected correctly. the call to the images is done by images.html page : <...
1
vote
2answers
285 views

apache reverse proxy with rewrite mod

I am configuring a new virtual host on my apache reverse proxy with rewrite mod, when testing the configuration all working fine but only one page (image page) is not working. when clicking on image ...
0
votes
1answer
92 views

Apache2 reverse proxy with response caching

I'm using Apache as a reverse proxy for an application running on a local port. I want to cache responses from this application in memory. So requesting the same URL frequently should give me cached ...
0
votes
0answers
28 views

apache2 with mod_proxy stopped redirect virtualhosts

I'm using apache to redirect requests for another server. a week ago we had replaced the router of the office, later on the redirection had stopped. (virtual hosts on same machine still works. ...
0
votes
1answer
268 views

How to connect through SSL to server requiring certificate exchange via an apache proxy?

I need to connect to an external server via SSL which only accepts certificates exchange following this architecture : Client (my Nodejs server) -----http-----> (Reverse?) Proxy ----https-----> ...
0
votes
1answer
448 views

Apache 2.4: mod_alias, mod_rewrite, mod_proxy execution order

I can't find any documentation on Apache vhosts instructions priority / execution order between mod_alias (Redirect instructions), mod_rewrite (RewriteRule instructions) mod_proxy (ProxyPass ...
1
vote
1answer
3k views

Apache 2.4 [proxy_http:error] [proxy:error]

I have enabled Apache proxy and http_proxy modules in order to reverse proxy some requests coming on port 80, only for a virtualhost, to localhost:3000 (where nuxt with node is running). The proxy ...
1
vote
2answers
3k views

Authorization based on custom Header (Apache)

I have a service running behind a Apache Reverse-Proxy that uses the custom headers "username" and "role" to identify users and their role. I want Apache HTTPD to restrict access to to people whose ...
1
vote
1answer
374 views

Apache reverse proxy resolves localhost

I have a webserver with dockerized nuget service running. Webserver also has apache2, working as reverse proxy, resending requests to service. I can access web interface of my service, but when I am ...
0
votes
1answer
256 views

Apache http_proxy random 404

I configured an Apache2 on Ubuntu Server 16.04 as an http reverse proxy to an external web server. There's something very curious here, as pages are loaded, some of its resources (.css, .js) return ...
0
votes
1answer
67 views

strange access.log related to acpache proxy

It might be simple but i can't understand the meaning of this line 171.13.14.46 - - [06/Apr/2019:12:24:44 +0000] "CONNECT 133.130.126.119:43 HTTP/1.1" 302 406 "-" "RPS/HTTP PROXY" is it something ...
1
vote
2answers
104 views

apache mod_rewrite / mod_proxy adds port 443 to proxy url on https to http

We are using mod_rewrite with mod_proxy to proxy requests by crawlers and bots to prerender.io. The prerender service does not support https currently, but my clients site only does, so the proxy is ...
0
votes
1answer
36 views

Redirection, subtitute or rewrite

we have a homepage hosted by another provider in amazon, we are developing and event related page, due a SEO needs we need a redirection from http://www.example.com/event (hosted on amazon, out of our ...
0
votes
1answer
76 views

Conditionally Proxy Pass if local resource is not found (404) with Apache 2.4 mod_proxy

I am attempting to make my local host and staging environments a bit prettier by failing over to production if an image is not found locally. I can get proxy pass to work and always forward requests ...
-1
votes
1answer
582 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
1answer
182 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
855 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
2 3 4 5
13