I have 2 web servers, with the following 2 websites hosted on each
server:
Website Web Server 1 Web Server 2
------- ------------- -------------
Website1.com 192.168.3.100 192.168.3.200
Website2.com 192.168.3.101 192.168.3.201
I have setup Listen HTTP(S)directives for pound (thanks for the previous
help everyone!), but am not sure how to format the URL config
directives. What string would allow me to forward the websites to the
right IP addresses on each web server?
Here is what I have tried:
ListenHTTP 1.2.3.4,80
ListenHTTP 1.2.3.5,80
ListenHTTPS 1.2.3.4,443 /usr/local/etc/website1_com.pem
ALL:!ADH:EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
ListenHTTPS 1.2.3.5,443 /usr/local/etc/website2_com.pem
ALL:!ADH:EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
UrlGroup ".*"
HeadRequire Host ".*www.website1.com.*"
BackEnd 192.168.3.100,80,1
BackEnd 192.168.3.200,80,1
EndGroup
UrlGroup ".*"
HeadRequire Host ".*www.website2.com.*"
BackEnd 192.168.3.101,80,1
BackEnd 192.168.3.201,80,1
EndGroup
It works perfect when there is only the basic URL config, but chokes
when I try the URL config directives above. Would someone be willing to
help?
Basic URL config:
UrlGroup ".*"
BackEnd 192.168.3.100,80,1
BackEnd 192.168.3.200,80,1
EndGroup
Chris Willis
|