I'm get "Access Forbidden" when trying to access proxysrv1/aip and
proxysrv1/apl

This is my updated vhost file:

http://paste.ubuntu.com/333080/

On Wed, Dec 2, 2009 at 1:09 PM, Tom Evans <tevans...@googlemail.com> wrote:

> On Wed, Dec 2, 2009 at 11:02 AM, Robert Schenck <robschenck...@gmail.com>
> 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.
>
> tl;dr
>
> >
> > 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
>  </Directory>
>
>   <Location />
>    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-unsubscr...@httpd.apache.org
>   "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>

Reply via email to