2
votes
1answer
45 views

disable auth digest for reverse proxy

I have digest auth set up on one of my domains but I would like to disable it for a reverse proxy. <VirtualHost *:80> ServerName example.org DocumentRoot /var/www/ <Directory ...
1
vote
0answers
35 views

forward proxy and host file entry

I had a question in regards to forward proxy that I appricate of you can review. If I have apache 2.2 in my DMZ with a dedicate VIP could I use from my source server that needs to reach that VIP host ...
0
votes
2answers
213 views

Unable to configure apache to restrict access by IP for proxy

I added following into my httpd.conf (after VirtualHost): <VirtualHost *:80> ServerName XXX.XXX.XXX <Directory proxy:> Order allow,deny Allow from 10.52.208.221 ...
0
votes
2answers
53 views

Apache Proxy to show another Website

I need to proxy the URL http://de.domain.com/article1/foobar/ to http://de.foobar.domain.com/article1/. How can I do this within getting and setting the subdomain language part? Examples: ...
1
vote
1answer
119 views

Apache as a proxy fowarder to dynamic IP

I've looking aroung the web, but I can't figure out how to do what I'm looking for. So what I'm looking for is a proxy on which will foward the HTTP query based on the IP address I've put in the url ...
1
vote
1answer
340 views

Apache as a proxy for Nexus, Jenkins and Foreman (Several VirtualHosts on same domain, IP and Port)

I'd like to configure Apache to be used as a proxy for Nexus, Jenkins and Foreman which are installed and running on the same server. Here is an example of the Virtual host config file for Foreman, ...
2
votes
1answer
268 views

Is it possible for a reverse proxy to make its request to another proxy and rewrite the urls in the response content?

I'm currently looking into reverse proxies and don't have a specific one in mind yet. I am trying to forward my requests from a reverse proxy through another proxy on the web with authentication. The ...
0
votes
1answer
511 views

Apache ProxyPass Virtual host

I'm trying to do a similar setup to the one discussed in this older thread. I've enabled the proxy_module, proxy_connect_module, proxy_http_module, and rewrite_module. It worked, but now when I go ...
1
vote
4answers
370 views

httpd: how to dynamically delay request forwarding to proxy?

I have Apache httpd (2.2.22) configured as reverse proxy. There is a situation in which I need to take my web server (the receiver of the proxied requests) offline for a few milliseconds. During this ...
0
votes
1answer
187 views

Apache2 mod_proxy modifies content-type for some reason

I am using a local proxy using apache2 to do some development work (OSX 10.8): SSLProxyEngine on ProxyPass /app https://my.server.org/app ProxyPass /web https://my.server.org/web Everything works ...
1
vote
0answers
95 views

set up apache http server in windows as proxy to access another domain

I know this should be very basic and simple in theory, but I need to complete this task, I'm new to this and for some reason I can't find a suitable example that works for me. I am running apache 2.2 ...
-1
votes
2answers
55 views

Apache 2- Forward all the request from a specific Domain to a different Server in the intranet

I have two servers: A (192.168.1.100:80) B (192.168.1.200:8080) Both are behind firewall and only port 80 is open and forwarded to server A. People from outside type www.mydomain.com to access my ...
1
vote
0answers
327 views

apache proxyremote and http

ProxyRemote syntax is: <remote-server> = <protocol>://<hostname>[:port] So, I have to put protocol before hostname. But my proxy server is x.y.z.n:1234 (without http) And when I ...
7
votes
1answer
4k views

Apache httpd error “proxy: ap_get_scoreboard_lb” with ProxyPass

I set up apache to proxy for tomcat but I am getting the following error when I target the page. I sometimes get a blank page or a 503: [Error] [Mon Dec 03 04:58:16 2012] [error] proxy: ...
1
vote
1answer
144 views

How to tell httpd to preserve the proxied error message?

I have an httpd server proxying the requests to 2 different tomcat servers. One of my server handles the authentication and returns a specific http error code 521 when the user already have a running ...
4
votes
3answers
2k views

ProxyPreserveHost on individual proxypass rules

I have two proxypass rules on my web host, one that points to a local varnish instance for caching purposes, which I want ProxyPreserveHost enabled for, and another that points to a third party hosted ...
0
votes
0answers
84 views

How can I get apache to stop logging header errors?

I may have this set up in a weird/bad way, but the idea I'm going for is to take wildcard subdomains and seamlessly convert them to a different URL behind the scenes that my app understands. My ...
1
vote
1answer
1k views

Zimbra 7.2 reverse proxy to arbitrary internal website?

I have ZCS 7.2 opensource installed at webmail.domain.com and mailman on mailman.domain.com/mailman. I wanted to setup a proxy so that when someone goes to webmail.domain.com/mailman, the proxy ...
6
votes
1answer
4k views

mod_deflate - Optimal configuration for most browsers

I was wondering if someone here could help me determine the optimal standard configuration for using mod deflate with Apache. Basically, mod_deflate recommends using the following configuration for ...
2
votes
1answer
649 views

apache - mod_rewrite + mod_proxy working in staging, not working in production ( [P] option ignored )

I have set up a redirect in my Apache virtual host serving several subdomains - call them a.example.com and b.example.com - serving a ruby on rails app. On my virtualhost config file I have this ...
1
vote
0answers
73 views

proxying on localhost

2 Servers: Server 1 on 1 public IP, Server 2 on Local LAN. I have this working with a proxy on Server1 right now. But I need to add one localhost on Server2 which is NOT a recognized domain. So I am ...
2
votes
1answer
2k views

How to use Apache to proxy from subfolder to other server

Given the following url: domain.com/wiki/ I'd like apache to redirect all requests below that (so domain.com/wiki/*) to otherdomain.com:8080/. But the trick is I want the user to always see ...
0
votes
1answer
316 views

Apache rewrite with intermediate proxy server (with authentication)

Using Apache 2.2, I'd like to access an external server (reachable through the Internet) from one of my internal servers. The URLs will be rewritten to change the host so I'll either use mod_rewrite ...
0
votes
1answer
525 views

Set up MySQL behind a proxy server

I am deploying a MySQL server behind a proxy server (apache mod_proxy). I am getting this error when I try to connect using mysql client or using php to connect to mysql server. Lost connection to ...
2
votes
1answer
968 views

Apache configuration to make NTLM authentication work through a Proxy

I'm running an application server behind an Apache proxy with the following sort of thing in my Apache config: ProxyPass /app http://myapplication:8080/myapp ProxyPassReverse /app ...
0
votes
1answer
77 views

New to Apache: what exacty should my conf file contain for a basic forward proxy?

I was hoping to get some help setting up Apache as a forward proxy, primarily just to know how it's done and for learning. I've found countless examples that look a lot like this: <IfModule ...
1
vote
1answer
199 views

How to serve a 3rd-party web site through my proxy, but alter content before it is displayed?

I would like to fetch a remote web site, alter the contents slightly, and then display the final, altered contents to the end-user. Is this possible, and what would be the best way to go about doing ...
0
votes
2answers
1k views

How to setup Apache Proxy for a small fleet of EC2 instances?

I've been setting up Amazon EC2 instances for an upcoming project which will involve hosting multiple websites on multiple web servers. They are all micro instances, running Ubuntu Server 64bit. ...
0
votes
2answers
264 views

Apache server as reverse proxy is removing xmlns info from html tag

I have a Java application running in tomcat, in front of which I have an Apache http server as a reverse proxy. However, the proxy is removing all xmlns data from the html tag, which breaks all the ...
2
votes
1answer
1k views

Apache - Should I use “ProxyPass …” or “RewriteRule … [P]” to proxy requests?

The apache documentation says that you can use mod_rewrite to do similar things to mod_proxy, by using the [P] option. Which should I use? Or is there no difference? Right now I'm using ProxyPass ...
5
votes
5answers
12k views

Help me understand how to use ProxyPass

UPDATE: I added a revised question after playing around with it two answers below. Hi there, If you're reading this you're probably familiar with Apache's mod_proxy and its ProxyPass function. Like ...