Tagged Questions
12
votes
3answers
29k views
How to serve all existing static files directly with NGINX, but proxy to Apache the rest?
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
if (-f $request_filename) {
...
8
votes
2answers
15k views
Apache2 Reverse Proxy to an end-point that requires BasicAuth but want to hide this from user
Basically my scenario is that I have an internal website that requires a SINGLE hard-coded username and password to access (and this can't be turned off, only changed). I am exposing this website ...
4
votes
3answers
2k views
Rails3 application behind a Proxy
I'm trying to setup a Rails 3 application behind an Apache2 webserver which is acting as a proxy.
The Apache webserver is running on port 8080, and if I make a call to the http://ip:8080, I see the ...
4
votes
2answers
2k views
RoR3 redirects not including RAILS_RELATIVE_URL_ROOT
On my public-facing Apache2 server access to my Rails 3 app is via a sub-URI, like
https://www.myserver.com/myapp/controller...
that server is configured for reverse proxy to another Apache2 server ...
3
votes
1answer
5k views
Apache port forward [closed]
I have apache couchDB active on http://localhost:5984/ which i need to access at http://localhost:80/couch/. I need to setup a reverse proxi for this. Need help with the configuration settings.
PS: ...
2
votes
2answers
6k views
WebDAV behind a reverse proxy
I have 2 servers. One Reverse proxy on the web and one on a private link serving WebDAV.
Booth servers are apache httpd v2.
On the proxy I have:
ProxyRequests Off
<Proxy *>
...
2
votes
2answers
621 views
What is the simplest apache mod_proxy cofiguration?
I have a server with Apache2 (on port 80) and Glassfish (on port 8080). I'd like to configure Apache to transparently proxy al request to a certain virtual host to the glassfish Server.
I tried this, ...
2
votes
1answer
2k views
How to setup reverse proxy in apache for play framework web app on mac os x
I'm trying to add an apache front end with reverse proxy to a play framework app on port 9000. I've tried the following httpd configuration as per the play documentation: ...
2
votes
2answers
6k views
Reverse Proxy with Apache ProxyPass redirects instead of transparently passing through
I got a web application running inside a Tomcat at http://<server>:8080/app/portal/.
I want the world to see this application through the URL http://<server>/portal/.
To do this, I set ...
2
votes
1answer
2k views
Apache 2.2 reverse proxy not working
I am trying to set up my apache (version 2.2.3) to work as reverse proxy. I configured apache on public server as it is described at http://www.askapache.com/htaccess/reverse-proxy-apache.html
...
2
votes
2answers
124 views
Apache: just rewrite if external ressource exists
I use Apache as a reverse proxy. There is no web content on the dedicated server itself. If a client requests a resource on the local Apache server, Apache should determine on which remote (proxied) ...
2
votes
0answers
385 views
Proxied ajax request fails with status code 200
I'm building a js-only webapp consuming an external API through a Reverse Proxy.
To do this I set up my Apache adding the following rules:
ProxyRequests off
ProxyPassReverseCookiePath /starmobile /
...
1
vote
2answers
3k views
Subdomain proxy pass all pointing to single server
I have 2 applications hosted on a single apache tomcat on port 8080
>
http://mydomain.com:8080/application1
http://mydomain.com:8080/application2
I would like to run an apache proxy in ...
1
vote
2answers
13k views
Redirecting https requests to two different weblogic servers using the Weblogic proxy and Apache2
I have a server serverA running a weblogic application App1, with base url /app1/ on port 7001, and another server serverB, running a weblogic application App2, with base url /app2/ on port 8001. Both ...
1
vote
1answer
321 views
ProxyHTML to rewrite URL
I've got 2 apache servers set up. One on port 80 and another on port 8077. I'm wanting to see everything on the server on 8077 via a reverse proxy. At the moment I've got:
ProxyPreserveHost Off
...