Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: forward request from apache to jboss(SSL) |
|
Author |
|
cpkiran
Joined: 19 May 2015 Posts: 9 Location: Minneapolis,MN
|
Posted: Sun 31 May '15 14:48 Post subject: forward request from apache to jboss(SSL) |
|
|
I have follwing components configured.
LoadBalancer, Apache and SSL enabled JBoss.
Lodbalancer URL: https://emsprod.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)
I am using below settings on httpd.conf file of apache but url is getting changed to https://servername:8443/EPC from https://emsprod.com
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://servername:8443/EPC [R,L]
I still want the generic name (emsprod.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. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
|
Back to top |
|
cpkiran
Joined: 19 May 2015 Posts: 9 Location: Minneapolis,MN
|
Posted: Tue 02 Jun '15 3:07 Post subject: |
|
|
if I use below settings , it is going to infinite loop ,
when I access load balancer link https://emsprod.com.
If I redirect to https://servername:8443/EPC, url is changing from emsprod.com to servername. Do you know what needs to be done, so that emsprod.com wont change , even after redirection.
vhost on port 8020
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://emsprod.com/EPC [R,L] |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Tue 02 Jun '15 12:11 Post subject: |
|
|
Please post your config at pastebin.com and post here the link to it otherwise we might speak if apples and oranges at the same time. |
|
Back to top |
|
|
|
|
|
|