Hi All,
We are using apache mod-proxy on top of tomcat to achive load balancing. It is working fine , now we are planning to move to https from httpd . For that my configuration looks as follows
NameVirtualHost 10.x.x.3:443
<VirtualHost 10.x.x.3:443>
ServerName 10.x.x.x.3
ProxyRequests off
ProxyPreserveHost On
<Proxy *>
Order Deny,Allow
Allow from all
</Proxy>
ProxyPass /balancer-manager !
ProxyPass / balancer://mycluster/ stickysession=JSESSIONID nofailover=On
ProxyPassReverse / balancer://mycluster/ stickysession=JSESSIONID
Header add Set-Cookie "ROUTEID=.%{BALANCER_WORKER_ROUTE}e; path=/"
<Proxy balancer://mycluster>
Header set Cache-Control no-cache
Header set Pragma no-cache
BalancerMember
http://192.168.2.182:8080 route=node1
BalancerMember
http://192.168.2.183:8080 route=node2
ProxySet lbmethod=byrequests
ProxySet stickysession=ROUTEID
</Proxy>
<Location /balancer-manager>
SetHandler balancer-manager
Order deny,allow
Allow from all
</Location>
</VirtualHost>
Include conf/extra/httpd-ssl.conf
I have added the certificate and key location in httpd-ssl.conf
https is working fine , but redirecting to tomcat servers is not happening. I am seeing the default apache "It works" test page .
Please suggest how to resolve the issue .