I have follwing components configured.
LoadBalancer, Apache and SSL enabled JBoss.
Lodbalancer URL: https://example.com
Apache URL : http
://servername:8020/EPC
Jboss URL(SSL) : https
://servername:8443/EPC
When the request comes to Loadbalancer, it is forwarding the request fine to apache.
But from apache I am not able to forward the request to Jboss(SSL).
If SSL is not enabled on JBoss , I am able to forward request easily to Jboss using ajp protocol.
I am using below settings on httpd.conf file of apache but url is getting changed to https
://servername:8443/EPC from https://example.com
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https
://servername:8443/EPC [R,L]
I still want the generic name (example.com) to be displayed on url instead of server name.
Can any one help how I can successfully forward the request to Jboss when I access LB url.
[edited by: phranque at 10:45 am (utc) on Jun 2, 2015]
[edit reason] unlinked URLs [/edit]