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
1 answer

S3 and apache mod_proxy with basic authentication

I'd like to redirect to my S3 bucket in SSL with a basic authentication for some of my files (apk files) with the apache mod_proxy. SSL and mod_proxy perfectly work, but basic authentication is ignored. ServerName…
0
votes
1 answer

How can I use mod_rewrite to proxy the userinfo component of a URI?

This has been driving me crazy. I have a web application that's being served via Apache Web Server. The database server that backs the application is Apache CouchDB, which exposes an HTTP API to retrieve documents and stream attachments. I've…
StickByAtlas
  • 357
  • 2
  • 14
0
votes
1 answer

Apache ProxyPass Root

I have setup apache fronting my services using the following example config. /etc/apache2/conf-enabled/services.conf ProxyPass http://localhost:8082 ProxyPassReverse http://localhost:8082
Jack
  • 417
  • 2
  • 8
  • 18
0
votes
1 answer

mod_proxy_ajp and Location headers

Recently I had to install a Java application for a client using Tomcat6. The application needed to run from the root of their domain so I also installed apache2 and mod_proxy_ajp to set up a proxy to make this work. After a bit of massaging and…
Andrew Winter
  • 1,116
  • 1
  • 8
  • 27
0
votes
1 answer

Apache mod_proxy and Node Express renders plain text

I am running a webserver with Apache 2.2.12 as default webserver bound to port 80. For a new project I need to proxy one of Apaches bound domains via port 80 to a Node Express Server 4.7 which runs on the same machine on port 4000. The Express…
Krakenfuss
  • 13
  • 2
0
votes
0 answers

Rewrite (but not redirect) Subdomain To WordPress Page Hosted In Same Folder

I am trying to do something fairly straightforward that I think should be possible without needing to resort to mod_proxy, but can't quite figure it out exactly. What I want to do is have subdomains - like apply.domain.com/(.*) - rewrite but NOT…
Chris DeMarco
  • 173
  • 1
  • 9
0
votes
1 answer

Make apache mod_proxy ProxyErrorOverride include original page contents with mod_include

I'm using apache mod_proxy to forward certain requests to an IIS server and also use ProxyErrorOverride to provide a corporate style on the error pages. However I would like to include the original servers error message in custom error pages to…
Cris
  • 31
  • 6
0
votes
2 answers

Apache proxypass for Ionic Framework app

I've managed to reach internal localhost:8100 (where ionic server lives) from an external device accessing to 192.168.1.130/ionic with a proxypass. My http-vhosts.conf: ServerAdmin localhost@admin DocumentRoot…
Miquel
  • 8,339
  • 11
  • 59
  • 82
0
votes
1 answer

apache httpd - header merge ignoring existing header

Using apache mod_proxy 2.5 I'm trying to merge or replace an existing access-control-allow-origin header with mod_headers in a proxypass location. the answer returned from proxied backend already includes a access-control-allow-origin header which…
Martin
  • 91
  • 1
  • 11
0
votes
1 answer

which load balancer would be better in performance mod_jk or mod_proxy or any other open source

I am willing to host an application in a single machine with out any fail-over or load balancing at the hardware level as per my budget. But, to my knowledge, as the no of hits increases to the tomcat, it has a drawback of going down. So, to get rid…
Shashikanth Komandoor
  • 781
  • 1
  • 11
  • 29
0
votes
1 answer

How can I reference environment variable in http.conf of Apache under mod_proxy settings

How can I reference environment variable in http.conf of Apache under mod_proxy settings? I set targetserver as environment variable but apache mod_proxy couldn’t resolve. Any thoughts? Configuration: ProxyPass /lac/ http://${targetserver}/…
0
votes
1 answer

If mod_proxy is unavailable, what is the effect of not using the P flag in an htaccess rewrite?

For a mobile subdomain (m.domain) I'm simply trying to pull images from the common main domain image folder (www.domain.com/images) After a bit of tinkering, I've apparently gotten the htaccess rewrite code to work successfully but I found out I was…
0
votes
1 answer

Expose Applications running on a CloudFoundry VM to the Internet

I am sorry if this question as already been asked somewhere else, but I have been struggling with this for days now. I am trying to setup a CloudFoundry Virtual Machine on a private Server. The Cloud Foundry instance works fine and my test REST…
Jérémie
  • 557
  • 4
  • 15
0
votes
0 answers

Apache2 redirect Alias to port

i know this can be done with mod_rewrite or mod_proxy, if i'm correct.. but the problem is that i've tried so many times without success. My problem is that i have a server mapped on 192.168.1.110, with two open ports (80 apache2 and 8080 tomcat) I…
blastbeng
  • 187
  • 2
  • 11
0
votes
2 answers

Apache redirect from DMZ to internal networks

I have a domains test1.xxxxxx.com, test2.xxxxxx.com, test3.xxxxxx.com and so on which point to my DMZ ip address. On my DMZ I have an apache web server. The apache web server needs to redirect test1.xxxxxx.com to test1.xxxxxx.com (192.168.1.1) on…
smehta
  • 1
  • 1