Forum Moderators: phranque

Message Too Old, No Replies

Multiple reverse proxies from same ip?

         

luetin

10:25 pm on Dec 15, 2004 (gmt 0)



I have an external server successfully serving a reverse proxied page from an internal server:

<VirtualHost 1.2.3.4:80>
ServerName www.foo.com/
ProxyPass /dogs [intenalserv...]
ProxyPassReverse /dogs [intenalserv...]
</VirtualHost>

What I WANT to do is serve an additional, separate dir from the same internal server, like this:

<VirtualHost 1.2.3.4:80>
ServerName www.foo.com/
ProxyPass /dogs [intenalserv...]
ProxyPassReverse /dogs [intenalserv...]
</VirtualHost>

<VirtualHost 1.2.3.4:80>
ServerName www.foo.com/
ProxyPass /cats [intenalserv...]
ProxyPassReverse /dogs [intenalserv...]
</VirtualHost>

This config doesn't work. How do I make it work?

Thanks!