httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <>
Subject Re: [users@httpd] Reverse proxying is problematic
Date Wed, 02 Dec 2009 12:09:53 GMT
On Wed, Dec 2, 2009 at 11:02 AM, Robert Schenck <> wrote:
> I know this is a long read...but I really need help, and felt the best way
> for anyone to help me remotely is to explain the issues in their entirety.


> Please explain any fixes in a step-by-step process. Again, I'm new to this.

Part of the problem is that you are rewriting HTML. Messy isn't it?
Now do it again, but don't bother with rewriting the HTML.

Remove all the Proxy directives from the main apache server config, it
makes no sense when you then define vhosts later to use.

Define a vhost for each site you wish to proxy. Set it up like so:

<VirtualHost *:80>
  ServerName proxyaip
  ProxyRequests Off
  DocumentRoot /var/empty

  <Directory /var/empty>
    Order allow,deny
    Allow from all

  <Location />


Accessing http://proxyaip/ should now be just like accessing . If you want to proxy more sites, define more vhosts.



The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message