On Wed, Dec 2, 2009 at 11:02 AM, Robert Schenck <robschenck416@xxxxxxxxx> wrote:tl;dr
> 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.
Part of the problem is that you are rewriting HTML. Messy isn't it?
>
> Please explain any fixes in a step-by-step process. Again, I'm new to this.
>
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<Location />
Allow from all
</Directory>
ProxyPass http://aip.com/
ProxyPassReverse http://aip.com/
</Location>
</VirtualHost>
Accessing http://proxyaip/ should now be just like accessing
http://aip.com/ . If you want to proxy more sites, define more vhosts.
Cheers
Tom
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
" from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx