2 Replies Latest reply on Jul 1, 2011 11:40 AM by wijetnga

    Need help with mod_cluster

    wijetnga Newbie

      Hello I really need help on VirtualHost and mod_cluster

       

      Here is my details

      1 webserver with 2 JBoss servers

       

      Webserver has 2 DNS resolve to same ip

      colors.abc.com

      flowers.abc.com

       

      JBoss

      server1 host "colors" webapp

      server2 host "flowers" webapp

       

      here is from httpd.conf

      <VirtualHost colors.abc.com:80>

       

        ServerName colors.abc.com:80

         ProxyPass / balancer://cluster1/colors stickysession=JSESSIONID|jsessionid nofailover=On

        ProxyPassReverse / balancer://cluster1/colors

        ManagerBalancerName cluster1

      </VirtualHost>

       

      <VirtualHost flowers.abc.com:80>

       

        ServerName flowers.abc.com:80

        ProxyPass / balancer://cluster2/flowers stickysession=JSESSIONID|jsessionid nofailover=On

        ProxyPassReverse / balancer://cluster2/flowers

      </VirtualHost>

       

      Note: I do see all the services which I try "mod_cluster-manager"

       

      Question

      1. How do I restric accessing "http://flowers.abc.com/colors"?

      2. Am I doing this correctly or not?

       

       

      Thanks in advance.

       

      Sulo.