All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
0 answers
109 views

Apache Server Forward Proxy : How to redirect to a custom page?

On Apache server (Xampp) I have make a forward proxy for firewall filtering that works well, but I don't understand how to use RewriteRule to redirect a forbidden url to a custom error page. I wish to ...
Eremin's user avatar
  • 11
0 votes
1 answer
910 views

Apache reverse proxy mTLS only between client and proxy, regular TLS between proxy and backends

am trying to create an apache reverse proxy (for webservices) where i need Imutual authentication (mTLS) between clients and the proxy itself, but i don't need mTLS between the proxy & the ...
olivierg's user avatar
  • 524
0 votes
0 answers
86 views

Restrict Apache forward proxy to a remote url set

Is there a robust way to restrict Apache forward proxy to a set of remote URLs? Now I can see the only solution with multiple identical <Proxy "..."> blocks as: <Proxy "http://...
Veniamin's user avatar
  • 863
2 votes
2 answers
3k views

HTTP and websocket on the same port and domain behind reverse proxy

I wanted to try Node-Red and have installed it on my Ubuntu server. This server runs an apache reverse proxy but I can't get it to work right. If I create a virtualhost for the HTTP connection I can ...
screendoor's user avatar
0 votes
0 answers
80 views

Apache 2 proxy external images from any domain

I am working on a project that would require my server to proxy images from any domain. The idea would be that https://icontrolthisdomain.net/https://somerandomdomain.org/some-random-route/image.png ...
user126393's user avatar
0 votes
0 answers
158 views

Apache ProxyPass "Internal Server Error"

I'm setting up a Tomcat based application and would also like to remove the port number from the URL. I have successfully gotten Tomcat and the application installed and accessible directly via the ...
Chris Woelkers's user avatar
-1 votes
1 answer
155 views

My server is attacking other servers

I've been reached by OVH multiple times regarding a dedicated server which I bought from them, and they're saying that the server is attacking other hosts on their network. The first time, the server ...
HDR's user avatar
  • 1
0 votes
1 answer
216 views

Apache 2 basic reverse proxy config not working, getting 404 error

I started a new server in a virtual machine, and I can access its homepage from the browser. I set up a docker container hosted on port 90 which I can also access. To link /app/ to localhost:90 I ...
Tom743's user avatar
  • 1
0 votes
1 answer
378 views

How can I run TLS on Apache2 Proxy behind port forwarding

I have a problem with apache2 proxy in TLS using port forwarding. I manage to make it work correctly in HTTP, but as soon as I try to make it work in HTTPS, Apache shows the message Service ...
H.LK's user avatar
  • 3
0 votes
0 answers
270 views

reverse proxy Apache that redirects filtering by ip and path

I am trying to create a reverse proxy with apache that if it receives a request with /thisismypath as path and the ip address that make that request is 192.168.2.12 the it should redirect to 192.168.1....
P00's user avatar
  • 1
0 votes
1 answer
684 views

What is the Apache equivalent of Nginx set_real_ip_from and real_ip_header for proxy protocol?

Nginx has set_real_ip_from and real_ip_header proxy_protocol directive to restrict the trusted IP address of the TCP load balancer. https://docs.nginx.com/nginx/admin-guide/load-balancer/using-proxy-...
Waiho's user avatar
  • 23
1 vote
1 answer
2k views

Apache 500 Error when proxying api subdirectory

I am trying to redirect PUT request for a specific endpoint to another host. The said endpoint resides under /internal and accepts only PUT requests. The other endpoints under /internal will continue ...
argyrodagdileli's user avatar
0 votes
0 answers
2k views

proxy:error] [pid 137137] (111)Connection refused: AH00957: HTTP: attempt to connect to ip:49000

My site was running fine and then I updated nuxt.config.js. Then after that, the site starts to show Service Unavailable. I am using pm2 to start / deploy the app. Its vps server with apache in it. ...
Aayush Dahal's user avatar
1 vote
0 answers
712 views

Apache Reverse Proxy rewrite rule for complex URL. "Too Many Redirects" error

I am trying to configure a reverse proxy to my backend server. This is my previous configuration which is working. Define REMOTE_ADDR proxyserver.domain.com <VirtualHost *:443> ...
Renegade's user avatar
0 votes
1 answer
2k views

"Bad Request" when sending request to Socket.IO app via Apache

What I have I have Socket.IO app letteraly from template const express = require('express'); const app = express(); const http = require('http'); const server = http.createServer(app); const { Server }...
RoyalGoose's user avatar
0 votes
1 answer
284 views

Apache proxy removes double slash

I'm trying to send requests to a docker image by using apache's proxy functionality. The request to the docker should look something like: https://127.0.0.1:8282/somepath/https://somedomain/someimage....
datadevil's user avatar
  • 535
1 vote
1 answer
1k views

Apache ProxyPass to Shared Ip Address for Domain

I have a case where I need to proxy pass a domain (domain1.com) to a different domain (domain2.com) hosted on a shared ip address (192.168.168.168), but domain2.com DNS is pointed other than the ...
user2341534's user avatar
0 votes
1 answer
88 views

Apache Rewrite to Nginx with ProxyPass

I'm trying to redirect an Subdomain hosted on an Apache Webserver* with .htaccess to an external URL with hiding this external URL. The .htaccess file looks like this: RewriteEngine On RewriteCond %{...
mauri5hut's user avatar
1 vote
1 answer
1k views

Replicate nginx reverse proxy config using apache

nginx config: server { listen 443 ssl http2; listen [::]:443 ssl http2; ssl_certificate /path/to/tls/tls.crt; ssl_certificate_key /path/to/tls/tls.key; server_name the.domain....
TREX's user avatar
  • 21
1 vote
0 answers
158 views

Why would TLS version in one config cause another to break?

I have an Apache proxy that has several VHosts. Some of these are legacy configs that were before my time. Long story short, I removed some .crt files on the server that had expired, and forgot to ...
DevOpsSauce's user avatar
0 votes
2 answers
893 views

What do I need to do to get ProxyPass directives to register?

I am trying to make a MyCollab CE installation available via SSL, under Apache 2.4.38 (Debian). At present I am seeing ProxyPass not recognized. I have: ProxyPass / http://localhost:8080/ ...
Christos Hayward's user avatar
1 vote
1 answer
819 views

apache2.4 reverse proxy to nginx gitlab server [closed]

I'm currently running an owncloud server based on a apache 2.4 webserver on my raspberry pi 4 8GB (working on dietpi 7.3) which works great i have a public domain setup and use letsencrypt to create ...
CaptainJack42's user avatar
1 vote
1 answer
480 views

HTTP CONNECT requests in Apache web server log

I have an Apache webserver which serves the domain www.mypersonaldomain.com and I found these entries (and more like these) in access log. 88.218.227.227 - - [28/May/2021:08:56:29 +0000] "CONNECT ...
Gfour's user avatar
  • 13
1 vote
0 answers
157 views

Apache HTTP proxy work for some destination ip and receive 502 Bad Request from other destinations

I've an HTTP proxy like this: Listen 8240 <VirtualHost *:8240> ProxyRequests On <Proxy "*"> SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1 </Proxy> </...
alex's user avatar
  • 11
1 vote
0 answers
157 views

Apache reverse proxy configuration (/context to /)

I'm having this issue trying to proxy a site to another context on a different domain What I currently have ? I have a fully functional web site running on the following URL: https://helloworld....
William Añez's user avatar
1 vote
0 answers
447 views

Apache 2.4.46 launched from working AWS EC2 AMI runs but will not respond

I launched a new instance of an Amazon Linux 2 server (from a daily backup snapshot). Everything looks normal and Apache starts but it will not respond to requests. I have ssh access and I can see ...
Wes's user avatar
  • 111
1 vote
0 answers
589 views

how to config apache reverse proxy for multiple jboss remote instances?

I need to setup an apache reverse proxy with multiple jboss instances as target server (with different IP). I've already set in my DNS an url http://jboss-test.domain.com and i would like to redirect ...
Beps's user avatar
  • 11
1 vote
0 answers
339 views

Apache forward proxy with SSL is not using HTTPS?

I've configured a forward proxy in Apache 2.4, but my requests through it result in a 400: curl: (56) Received HTTP code 400 from proxy after CONNECT # Using the proxy results in a 400 https_proxy=...
JellicleCat's user avatar
2 votes
1 answer
1k views

Apache CONNECT request logs - should I be concerned?

I was going through my Apache2 access logs this evening, when I found what appear to be CONNECT requests in the log file: ... 5*.**.***.**8 - - [28/Jan/2021:21:40:41 +0000] "GET http://www....
Undesirable's user avatar
1 vote
0 answers
450 views

Subfolder redirection to another port

There are two services on the server's two ports 192.168.0.42 in the LAN. 80 - wordpress with blog 8080 - java application (chat) Domain redirected to router which forwards traffic from 80 and 443 ...
Maciej Romaniak's user avatar
2 votes
2 answers
4k views

What does SetHandler "proxy:unix:..." do?

What does the Apache "proxy:unix:..." handler do, and where is it documented? I see it used here and there, like: SetHandler "proxy:unix:..." For example in this recent question, ...
Andrew Schulman's user avatar
1 vote
1 answer
12k views

How to increase Apache's timeout correctly when mod_proxy is used

Background: I have machine to machine communication system, where client is sending every now and then data to Apache Server. Communication is slow as mobile 2G is used for communication. Apache uses ...
Tumbelo's user avatar
  • 13
-1 votes
1 answer
312 views

Apache redirect https to http

We would like to redirect an apache website to a remote tomcat server, but the tomcat does not use https. The apache is hosted on AWS so it does use https. We have a mobile app that should target ...
Tomas Caetano's user avatar
5 votes
0 answers
6k views

Intermittent proxy error in Apache: "Partial results are valid but processing is incomplete" with "AH01110: error reading response"

I'm using Apache 2.4.43 on CentOS 7.8 with Varnish 6 and PHP-FPM to serve a Magento 2 website. Varnish listens on port 80. Apache listens on 8080 to serve content to Varnish, and also port 443 which ...
WackGet's user avatar
  • 217
1 vote
0 answers
195 views

How to set up host redirection in a forward proxy in apache?

I have set up an apache proxy on my dev computer, so that I can redirect all requests to prod.example.com to staging.example.com, for reasons that are outside of the scope of this question. The ...
Antoine's user avatar
  • 111
0 votes
0 answers
337 views

Apache forward proxy with mod_rewrite

The Story: I've to (forward) proxy a request - whith certificate checking - to a site which has more than 96 character long URL. The Apache mod_proxy implementation doesn't work URLs that longer 96 ...
user579214's user avatar
0 votes
1 answer
4k views

AH00898: Error during SSL Handshake with remote server (localhost)

I am trying to boot up an instance of GhostCMS on my Debian 10 (buster) server. I planned on doing so using an apache (v2.4.38) reverse proxy. For the Ghost setup I used ghost-cli as described in the ...
Gabsii's user avatar
  • 101
0 votes
0 answers
280 views

Nginx reverse proxy and Apache serve on a subpath

I have a Node server running on background, and have an PHP Application running too, my question is how can I serve the Node server (using nginx) on the main path (/) while the PHP app (using Apache) ...
Stan Loona's user avatar
1 vote
2 answers
5k views

Permission denied: AH02478: failed to create proxy mutex

Running a local centos 7 apache webserver, recently it stopped working. Journalctl don't say anything other then service failed. Only the error_log in /var/log/httpd/ says: [core:notice] [pid 5026:...
Tim's user avatar
  • 43
0 votes
1 answer
65 views

put many websites behind a reverse proxy [closed]

I have a bunch of temporary domains as the following: app1.dummydomain.com app2.dummydomain.com app3.dummydomain.com ... these apps may reside on different servers with different IPs. now I want ...
Shawn's user avatar
  • 217
0 votes
0 answers
382 views

apache redirector to redirect custom url to aws internal dns name

I am using reverse proxy redirecting to internal DNS name of load balancer. As the internal DNS name of Load balancer is too long, I am getting an error ProxyPass worker hostname (internal-xxxxxx-...
Daniel's user avatar
  • 109
1 vote
1 answer
793 views

How to safely use apache2 to proxy multiple websites?

Sorry, I have mostly worked with NGINX so far. I would like to use apache 2 (on a host) to forward https and http traffic to several websites running on VirtualBox VM's. Each VM has several web sites ...
JuliusBaer's user avatar
0 votes
1 answer
1k views

Webapp not working with proxy

On a single server I'm using to demo a system, I have a static website running on apache2 and a demo web app running on an instance of tomcat. Both are working fine when accessed directly. I've ...
Michael McKay's user avatar
0 votes
2 answers
3k views

Proxypass changing URL Apache Reverse Proxy

I am trying to connect my jupyter notebok server (:8888 port) via reverse proxy server I have such rules: ProxyPass "/serv8888" "http://localhost:8888" ProxyPassReverse "/serv8888" "http://...
user548395's user avatar
1 vote
0 answers
260 views

Cannot redirect/proxy from Apache to lighttpd server

I have a home server that is accessible from outside with a static IP and port http://<homeip>:10001. This is a Lighttpd server. I also own a website https://example.com with Apache, I've ...
TheUnexpected's user avatar
1 vote
0 answers
216 views

Apache Proxy should retry connections to domain with multiple IPs

I have a proxy server running Apache 2.4. It is used by clients to connect to fcm.googleapis.com. The configuration is quite simple: Listen 8099 ServerTokens Prod ServerSignature Off <...
Lester's user avatar
  • 627
1 vote
1 answer
368 views

How to stop nginx 301 auto redirect when trailing slash is not in URI? (2)

I am facing the similar issue as described here: How to stop nginx 301 auto redirect when trailing slash is not in URI? Yet in my case the confifuration is a little bit different. I am using the ...
reardenlife's user avatar
1 vote
1 answer
2k views

Apache reverse proxy not passing custom headers to the target server

I am not sure if this is the right place to ask this kind of question but in the same time I don't know any better place, so please bear with me. I have configured Apache as reverse proxy to my ...
Greg0ry's user avatar
  • 107
0 votes
1 answer
128 views

Ngnix Reverse Proxy With SSL Certificate

I want to configure a proxy server with Ngnix to redirect to https server. The problem is that I don't have the private key of the .crt file of the web server which I have downloaded from the browser. ...
Ahmad Alkhatib's user avatar
1 vote
1 answer
4k views

Apache error "ProxyPass unknown Worker parameter" when using "upgrade=WebSocket"?

I am trying to relay the WebSocket connection of V2Ray with Apache according to This post, and the snippet below worked before. <LocationMatch "/{ws_path}}/"> ProxyPass ws://127.0.0.1:{...
whc2001's user avatar
  • 25