Questions tagged [mod-proxy]

mod-proxy is the proxying module for the Apache HTTP server.

mod-proxy is the proxying module for the Apache HTTP server.

Questions with this tag should relate directly to the use of this module. Questions about mod-proxy-balancer should use that tag rather than this one.

848 questions
0
votes
2 answers

WebSocket connection betwen node.js and webpage generated by Apache

Can I use Apache as main web server, but have websocket connection through Apache proxy between node.js and client webpage? And how to set up this?
VAGrus
  • 73
  • 1
  • 1
  • 6
0
votes
1 answer

Apache2 reverse proxy multiple sources into one http connection

I'm trying to create a proxy on my Apache2 web server. It's not really pertinent to the question, but I have a Raspberry Pi running a music player with an HTTP interface attached to an unrestricted internet connection. I want to be able to control…
0
votes
0 answers

Apache : how to make multiple subdomains and reverse proxy work together?

On my self-hosted server, I've got an Apache serving several websites. On the same machine, I've also got other services that don't run on Apache. I bought a domain name. Here is what I'm trying to do: domain.tld redirects to…
Draxx
  • 11
  • 3
0
votes
1 answer

running gitlabci behind apache proxy

I have an ubuntu 14.04 VM on my internal network that is running the new version of Gitlab version 8. In order to get to my gitlab instance i have another ubuntu vm with apache that serves almost like a router. All requests go to this VM and then i…
0
votes
2 answers

Errror reading from remote server returned by /jenkins

I am using Jenkins and currently Jenkins is running fine in the background; however, when i am trying to access Jenkins using browser the homepage of Jenkins is not accessible. When I access it I get "Error reading from remote server ( 502 )". Has…
Max
  • 5,380
  • 6
  • 42
  • 66
0
votes
1 answer

Mapping domains in a forward proxy

I'm currently running apache on my local machine as a forward proxy server. The config is pretty simple: ProxyRequests On ProxyVia On Order deny,allow Allow from all However, if a user uses my proxy, I'd like to be able…
0
votes
2 answers

Using mod_proxy_cluster and mod_proxy in one VirtualHost of Apache (httpd) configuration

I had the environment with several JBoss and Tomcat servers. They are connected to Apache via modcluster modules (to Apache IP address and port 8090). The Apache contains the configuration: loadbalancer.conf LoadModule slotmem_module…
0
votes
2 answers

Jekyll: need all hrefs to be relative or start from server.domain

I have a jekyll local website that hopefully will be made public. The only way for me to do so is to use mod_proxy on apache2. Unfortunately only the main page works correctly. Others are not forwarded, because the links Jekyll creates look like:
tnorgd
  • 1,580
  • 2
  • 14
  • 24
0
votes
1 answer

mod_rewrite, multiple domain, virtualhost

Here's what I'm trying to achieve : redirection to 2 different application hosted for 2 different domain redirect to https:// Not www-domain Make sure trailing slash gets appended in-case user misses out. Please note : It's a shared instance - so…
Pranav
  • 167
  • 1
  • 3
  • 16
0
votes
1 answer

Apache2 redirect domain to internal page

I have two domains pointing to a site hosted by apache2 (a.com and b.com for example). The primary domain is a.com and the website can be accessed from this domain. However, the page a.com/test/ should redirect to b.com (not b.com/test/) to display…
Zak
  • 1,910
  • 3
  • 16
  • 31
0
votes
1 answer

Apache / NodeJS / Proxy with support for subdirectories

My Apache Config: ProxyPreserveHost On ProxyRequests Off ServerName mydomain.com ProxyPass / http://localhost:3000/ ProxyPassReverse / http://localhost:3000/ My NodeJS: var app =…
0
votes
1 answer

htaccess proxy flag "immediate"

We have a series of pages that take between 10 and 30 seconds to load, which caused our apache connections to exceed the maximum number of connections. Since these pages are subpages of our site with data that is not too important, we decided to…
user3783243
  • 5,368
  • 5
  • 22
  • 41
0
votes
1 answer

Apache mod_proxy configuration - URI patterns

I want to know the difference between the following apache mod_proxy configurations to resolve an issue. I need to forward a HTTP request like following URL from Apache web server to a remote Sun One…
Chamith Malinda
  • 4,399
  • 5
  • 24
  • 28
0
votes
2 answers

Blocked Request by browser with mixed content with html frame and apache reversed proxy?

I am running a web app (Nexus of Sonatype) behind a apache reversed proxy as: ProxyRequests Off ProxyPreserveHost Off ProxyPass /nexus http://127.0.0.1:8081/nexus ProxyPassReverse /nexus http://127.0.0.1:8081/nexus The web page uses a few frames to…
edbras
  • 4,145
  • 9
  • 41
  • 78
0
votes
1 answer

Null Value for REQUEST_URI from Apache Web Server

My goal is to obtain the original request URL before proxying to another URL. I'm using Apache Http Server 2.4 in conjunction with Jetty. I'm creating a custom header called X-Forwarded-Uri in my httpd.conf file that provides me with the original…