Skip to main content

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.

0 votes
0 answers
39 views

I've configured Apache to serve PHP via php-fpm through a unix socket with the SetHandler directive: <FilesMatch ".+\.php$"> SetHandler "proxy:unix:/run/php/php-fpm.sock|fcgi:/...
Dom's user avatar
  • 67
2 votes
1 answer
196 views

I'm trying to configure a vhost to work with a proxy, but only if the request is not for a static file -- in which case I'd like Apache to serve it. Here's what I'm using: <VirtualHost *:80> ...
winck's user avatar
  • 135
1 vote
0 answers
39 views

on our intranet I have two servers in two different areas. Server 1 is providing a lab environment via ShellInABox web service. ShellInABox opens local ports to which Apache can connect via proxy ...
rund's user avatar
  • 11
1 vote
0 answers
116 views

Is there any way to remove Proxy-agent header (set to Apache/2.4.6.2(OS)) from CONNECT requests going through Apache httpd configured as forward proxy (forwarding requests to another uplink proxy)? &...
Koguni's user avatar
  • 51
0 votes
0 answers
34 views

We have an external Apache server that proxies a https url to an internal http site <VirtualHost *:443> ServerName external.domain ServerAlias www.external.domain ProxyRequests Off ...
Smock's user avatar
  • 180
0 votes
1 answer
118 views

I have a website www.example.com on a hosting provider. We use that provider because it has a simple site builder my wife uses to maintain the site. Moving off of it isn't an option for this ...
John Oliver's user avatar
1 vote
1 answer
82 views

I am attempting to take all requests matching the regex ^/(map/maps/[^/]*/live/.*) redirect into a local server http://127.0.0.1:8100/. However, the path that needs to be passed to the backreference ...
Firav's user avatar
  • 11
0 votes
0 answers
116 views

I would like to have Apache handle some custom URL rewrite code that I have. This code rewrites the following urls: https://www.example.com/request?data=SOMEDATABLOB into urls pointing to PHP pages. ...
andynewman's user avatar
0 votes
1 answer
91 views

I have 1 nonSSL server and many SSL with Proxy in Apache. Configuration SSL server: <VirtualHost *:443> ServerName test.com ServerAdmin [email protected] ErrorLog ${...
Jo K's user avatar
  • 111
0 votes
0 answers
673 views

Thanks in advance. I am new to server setup. So pardon me If I used the wrong words. I am setting up an Ubuntu server to host Nextjs and WordPress blog on the same server. I have to set up Nextjs on ...
Sandeep Solanki's user avatar
0 votes
1 answer
906 views

I would like to create a load-balanced environment using Apache 2.4.43 (windows) and two Tomcats servers. Using the "mod_proxy_hcheck" module some basic healthcheck operations should be ...
schlomm's user avatar
  • 111
2 votes
1 answer
602 views

I'm dealing with a proprietary HTTP-server, which always responds with code 200 -- even when an error occurred. The indication of an error, if any, can only be found in the custom header, for example: ...
Mikhail T.'s user avatar
  • 2,415
0 votes
2 answers
182 views

I have moved a server configuration to a new server and at the same time configured it with apache mod_proxy to access a gunicorn/django webserver (inside a docker container on port 8000). Previous ...
yo_e-h's user avatar
  • 3
0 votes
1 answer
551 views

I have a Joomla 4 site running in a Ubuntu 22.04 server (hostname = web-02). The Internet facing web server running in a Ubuntu 20.04 server (hostname = web-01) has configured as a reverse proxy for ...
cpliu338's user avatar
  • 111
0 votes
1 answer
76 views

I have a react app that listening to localhost:3939 Then, I configured a Virtualhost like this to proxy pass the port 3939 on https://test.example.com: <IfModule mod_ssl.c> <VirtualHost *:443&...
dcr31000's user avatar
0 votes
1 answer
390 views

I'm developing my application with 2 containers: apache and php-fpm. Apache serves requests, and delegates PHP execution to the php-fpm container in its vhost: <FilesMatch .php$> ...
amacrobert's user avatar
0 votes
1 answer
89 views

I have working httpd config (reverse proxy) that forwards requests to proxy: Listen 443 https <VirtualHost *:443> ServerName public-dns.example.org ServerAlias internal-hostname....
tomas's user avatar
  • 133
1 vote
1 answer
2k views

I want to let the php file_get_content function connect to network via system-wide proxy. I tried to add the following lines in /etc/environment: http_proxy=http://localhost:3128/ HTTP_PROXY=http://...
peter's user avatar
  • 143
0 votes
0 answers
262 views

I want to proxy one URI of my domain to a specific backend server. I have a public domain name external.lan and a private one lets say internal.lan. I want http://external.lan/gogs be served by ...
philippe's user avatar
  • 2,533
0 votes
1 answer
1k views

On my debian 11 based mailserver I noticed some entries in my daily logs: --------------------- httpd Begin ------------------------ Connection attempts using mod_proxy: 161.35.188.242 -> leakix....
tillewolle's user avatar
0 votes
1 answer
439 views

I am trying to use mode_proxy_hcheck to do health checks and failover for an application that requires HTTP Basic authentication. <proxy balancer://serverpool> BalancerMember http://username:...
theeGwandaru's user avatar
3 votes
1 answer
414 views

I have a site on my local ubuntu dev box with some mod rewrite rules, which we are attempting to use to force google and other bots to index the correct page, rather than our ajax snippets as they ...
sgc's user avatar
  • 41
0 votes
0 answers
294 views

I encountered an error that proxy.forwarded is an unknown key I already enabled mod_proxy on my configuration. Here is my config server.modules = ( "mod_access", "mod_accesslog&...
Falcon Ryu's user avatar
0 votes
0 answers
267 views

I would like to prevent default virtual host behaviour by dropping the connection, so that visitors who navigate to my server via IP or fqdn that isn't included in my virtual hosts get no indication ...
jackar's user avatar
  • 11
1 vote
0 answers
620 views

I am trying to use Apache as reverse proxy. For some locations I want to convert the client's HTTPS request to HTTP requests on the server. For another location I want to keep the client's HTTPS ...
Hendrik Jan's user avatar
0 votes
0 answers
367 views

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
2 votes
0 answers
2k views

everyone. I'm doing a practice task to create redirect for one location using load balancer, but I cant figure out why this isnt works (getting 502). I've tried setting several env-vars and settings ...
user3134104's user avatar
1 vote
1 answer
2k views

We have a reverse proxy server in front of an Exchange server and would like to lock down more of the paths. Minimized examples: Fails (but works for all pages that don't require authentication): <...
melds's user avatar
  • 231
1 vote
1 answer
4k views

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
4 votes
0 answers
1k views

[Edit, addition]: Looks like this could be caused by an attack attempt. But not sure how it can be avoided? https://www.mail-archive.com/[email protected]/msg57219.html I have an Ubuntu server ...
Dennis Thrysøe's user avatar
0 votes
1 answer
276 views

We have an apache configured as a load balancer (mod_proxy_balancer afaik) distributing the load to several wildfly application nodes. This was working fine until we updated the operating system from ...
Lonzak's user avatar
  • 101
1 vote
0 answers
958 views

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
1 vote
2 answers
718 views

I am trying lighttpd as a reverse proxy (v1.4.53) lighttpd.conf: $HTTP["url"] =~ "(^/example/)" { proxy.header = ("map-urlpath" => ( "/example/" => &...
hukaka818's user avatar
0 votes
0 answers
804 views

I'd like to start by saying that I know there are quite literally hundreds of topics about this, which I've followed before to get things working. Yet, this configuration, which I had working for ...
Jetto Martínez's user avatar
1 vote
1 answer
2k views

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
1 vote
0 answers
706 views

I'm trying to proxy websockets through Apache 2.4. I found an online demo, and this is my config based off of it. I'm running an app that uses websockets on port 8089 and am using apache to proxy the ...
x43's user avatar
  • 135
0 votes
2 answers
1k views

Docker, httpd and tomcat is new to me. What I want to do: Access tomcat servlet through httpd ajp reverse proxy. I am making two containers under same bridge network, one runs httpd, another tomcat. ...
Mirza Prangon's user avatar
0 votes
3 answers
1k views

I use reverse proxy to show backend server content for a subdomain. The subdomain.mydomain.com (server A) should display content of server with IP 123.123.123.123 port 1111 (server B). Virtual host of ...
klor's user avatar
  • 402
0 votes
1 answer
251 views

Hi all I am trying to use a virtual host to forward streaming.fusion.tk to my internal emby server form my webserver. I have setup a config file called streaming.conf in /etc/apache2/sites-available/ &...
Fusion's user avatar
  • 11
1 vote
1 answer
2k views

I'm trying to set up two subdomains, for a and b in domain.com. I use two .conf files, which look pretty much the same with according changes to ServerName and ProxyPass: <VirtualHost *:80> ...
Jetto Martínez's user avatar
0 votes
1 answer
198 views

I have a Next.js application running on two ports 3000 and 3001, and I want to use apache 2.4 reverse proxy to achieve this: https://app.com/* -> localhost:300x/* https://user.app.com/* -> ...
user2662879's user avatar
0 votes
1 answer
899 views

While trying to set-up apache as the Reverse Proxy, I see that I get incorrect location in the Response Headers ( Location is sent as "/" whereas it should be "backend/auth/api/token&...
userx's user avatar
  • 101
1 vote
1 answer
669 views

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

My urls are in this form /sites/site-name/Subpath-2/page-name.page /sites/site-name/Subpath-3/Subpath-4/index.page And this should be rewritten as /sitename/subpath/pagename (the extention .page is ...
Gaurav-Reddy's user avatar
0 votes
1 answer
887 views

We're trying to present the WebSocket-enabled interface from a remote device on our website. I've configured the WebSocket tunnel in Apache, but I'm getting a "400 Proxy Error" in Firefox (...
Roger Dueck's user avatar
1 vote
0 answers
907 views

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
2 votes
0 answers
280 views

we are running an Apache/2.4.6 on CentOS. i am trying to setup an Proxy Endpoint on the Apache which is passing requests to internal Servers (target servers). So far the Endpoint does what it should, ...
Rolski's user avatar
  • 21
1 vote
0 answers
469 views

I try to configure an apache load balancer to manage how server status becomes error and how the server status becomes OK. The apache version is 2.4 . I understood that a server state is error when a ...
apache_user's user avatar
0 votes
1 answer
667 views

I am installing a new server with Debian 10. I configured a virtual host to direct some requests to a TomEE (8.0.6) server. This server is responding on port 8080. The Apache configuration looks as ...
Marco's user avatar
  • 172
1 vote
1 answer
5k views

I've set up an apache config to try to redirect /login and to ProxyPass all other requests: RewriteEngine on RewriteCond "%{REQUEST_URI}" "^/login$" RewriteRule "^/login$"...
Jellicle's user avatar
  • 334

1
2 3 4 5
14