‎2019 Mar 21 3:00 PM
Hello,
i want to redirect all http trafic to https so i setup
This are my ICM parameters.
icm/server_port_0 PROT=HTTP,PORT=80$$,PROCTIMEOUT=600,TIMEOUT=600
icm/server_port_1 PROT=HTTPS,PORT=443$$,PROCTIMEOUT=600,TIMEOUT=600
icm/HTTP/redirect_0 PREFIX=/, FROM=*, FROMPROT=http, PROT=https, HOST=xys.corp
if in now try to call for example http://xys.corp:8000/sap/public/info i get a redirect to https://xys.corp:8000.
The system doesent change the port.
Why?
‎2019 Mar 22 9:29 AM
Hi Bernhard,
well because you forgot the PORT=443$$ in the redirect target definition, I guess.
icm/HTTP/redirect_0 PREFIX=/, FROM=*, FROMPROT=http, PROT=https, HOST=xys.corp, PORT=443$$
?
Cheers, Lutz
Edit: I think the ICM is not as intelligent as you expect. Parameters simply don't know of each other most of the time.
‎2019 Mar 22 9:29 AM
Hi Bernhard,
well because you forgot the PORT=443$$ in the redirect target definition, I guess.
icm/HTTP/redirect_0 PREFIX=/, FROM=*, FROMPROT=http, PROT=https, HOST=xys.corp, PORT=443$$
?
Cheers, Lutz
Edit: I think the ICM is not as intelligent as you expect. Parameters simply don't know of each other most of the time.
‎2019 Mar 25 2:53 PM
Hello Lutz,
thanks for the hint. Now the redirect works.
But only if i use IE or Chrome as browser. Firefox will still be on the http port.
Any idea?
Kind regards,
Bernhard
‎2019 Mar 26 8:29 AM