You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by James G Smith <JG...@TAMU.Edu> on 2000/02/23 14:44:15 UTC

Re: proxy/redirect/rewrite question

Charles Galpin <cg...@lighthouse-software.com> wrote:
>Hi
>For example, requests to 
>
>domA.com:80 ---> 192.168.1.1:80
>domB.com:80 ---> 192.168.1.2:80

This is probably off-topic if it can be done without mod-perl :P

<VirtualHost domA.com>

  ProxyPass / http://192.168.1.1/
  ProxyPassReverse / http://192.168.1.1/

</VirtualHost>

</VirtualHost domB.com>

  ProxyPass / http://192.168.1.2/
  ProxyPassReverse / http://192.168.1.2/

</VirtualHost>

This is my first take on a configuration.
-- 
James Smith <JG...@TAMU.Edu>, 409-862-3725
Texas A&M CIS Operating Systems Group, Unix