on 05-27-2016 7:37 AM
Hi,
How would the Multiple HTTPS urls be handled in this case.
I am working on a scenario where all the HTTPS URL will be using the same port 44300.
The SSL termination would take place on the Web dispatcher. The connectivity between Web Dispatcher and backend would be HTTP.
Can you let me know if such a scenario is possible and if yes then how could it be accomplished.
The below URL are for the Users accessing the servers through Web Dispatcher
wdisp/system_0 = SID=CR1, MSHOST=c1.y.com, MSPORT=8100
wdisp/system_1 = SID=HM1, MSHOST=h1.y.com, MSPORT=8100
wdisp/system_0 = SID=CR2, MSHOST=c2.y.com, MSPORT=8100
wdisp/system_1 = SID=HM2, MSHOST=h2.y.com, MSPORT=8100
icm/HTTP/mod_0 = PREFIX=/,FILE=/sapmnt/WD1/profile/icm_filter.txt
#### icm_filter.txt ####################
if %{HTTPS_HOST} regimatch "a.b.com"
SetHeader x-sap-webdisp-target-sid CR1
if %{HTTPS_HOST} regimatch "b.b.com"
SetHeader x-sap-webdisp-target-sid HM1
if %{HTTPS_HOST} regimatch "c.b.com"
SetHeader x-sap-webdisp-target-sid CR2
if %{HTTPS_HOST} regimatch "d.b.com"
SetHeader x-sap-webdisp-target-sid HM2
My queries are about the below
1) is the above config possible?
2) Is HTTPS_HOST a valid check, i know we can use HTTP_HOST in icm_filter rule file. Can HTTPS_HOST too be used?
3) If webdispatcher is configured for SSL termination , then do i need HTTPS_HOST in the ICM Filter or can i continue with the same HTTP entry that is existing for the HTTP urls
The result should be
https://a.b.com:44300 --> http://c1.y.com:8100
https://b.b.com:44300 --> http://h1.y.com:8100
https://c.b.com:44300 --> http://c2.y.com:8100
https://d.b.com:44300 --> http://h2.y.com:8100
Do let me know if anyone can help with the required info for the above configuration.
Thanks
Hello,
Yes, the scenario you are describing is possible.
Instead of using modification rules, why not use the SRCVHOST argument of the wdisp/system_X parameter? The Configuring the Web Dispatcher for Multiple Systems - Clarifications and Examples - Application Serv... WIKI page will help you with this.
Anyway, if you want to continue using the modification rules, you should use HTTP_HOST no matter the protocol used. HTTP_HOST is related to the HTTP header "host", not to the protocol and hostname used at the internet browser.
Cheers!
Isaías
---------------
PS: made a small correction, the correct argument is "SRCVHOST" (there was a typo )
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.