Hi experts,
i have followed the documentation regarding the SAP Webdispatcher, and have set up the redirecting of URLs for enabling HTTPS, but am running into some issues.
I have a Webdispatcher, version 720, that handles requests from two websites:
www.shop1.com (ISA shop)
www.shop2.com (WCEM Shop)
For www.shop2.com I have loaded an SSL certificate and going to https://www.shop2.com is working, and will produce an SSL secured connection to the shop. However, as soon as I click a link in that shop, it will link to a standard HTTP page.
So, I thought I could fix this by using a redirect on the Webdispatcher. I added the following rule:
icm/HTTP/redirect_0 = PREFIX=/, FROM=*, FOR=www.shop2*, FROMPROT=http, PROT=https
In my understanding, this should take all https traffic for www.shop2.com and redirect it to https. However, when testing it by typing http://www.shop2.com I do not get redirected to https://www.shop2.com.
I also use a modification handler that will add the correct querystring so that my WCEM application understands it, but I don't think that has any impact right?
if "%{HTTP_HOST}" regimatch "www.shop2*" RegRewriteUrl "^/$" "/main/catalog/home.jsf?wec-appid=SHOP_Template" [code=temp,qsappend]
Am I missing something, or is there a flaw in my logic?
Any help would be greatly appreciated!
Thanks,
Yordy