cancel
Showing results for 
Search instead for 
Did you mean: 

Suggestion needed regarding icm/HTTP/redirect_<xx>

Former Member
0 Kudos

Hello Experts,

We have defined the following ICM redirection rule so that all incoming HTTP traffic would be redirected to HTTPS:

icm/HTTP/redirect_0 = PREFIX=/, FROM=*, FROMPROT=http, PROT=https, HOST=lspal140.pal.sap.corp, PORT=44340

Now, we have a Web Dynpro developed that we could like to use only with HTTP (https://lspal140.pal.sap.corp:44340/sap/bc/webdynpro/sap/zcdr_wd_search)

i.e. we want to use the above Web Dynpro via HTTP and not HTTPS. We also do not want to disturb other WebDynpros (let them continue to get redirected to HTTPS)

Kindly help me to define the icm/HTTP/redirect_<xx> rule.

I tried the below rule but it did not work:

icm/HTTP/redirect_0 = PREFIX=/, FROM=/sap/bc/webdynpro/sap/zcdr_wd_search, FROMPROT=https, PROT=http, HOST=lspal140.pal.sap.corp, PORT=50040

icm/HTTP/redirect_1 = PREFIX=/, FROM=*, FROMPROT=http, PROT=https, HOST=lspal140.pal.sap.corp, PORT=44340

Please assist.

Thanks in advance.

--Srikanth

Accepted Solutions (1)

Accepted Solutions (1)

Private_Member_19084
Active Contributor
0 Kudos

Hello Srikanth,

I have a similar requirement, how could you solve this?
The problem is, I need to avoid a redirect, also if it would be to the same host/port it isn't ok, as I need to avoid a http 307.

So have you found a way to avoid a redirection for a defined URL and activate it for all others?

Kind regards

isaias_freitas
Advisor
Advisor
0 Kudos

Hello,

There is no option to define an exception at the icm/HTTP/redirect_X parameter.

You could try creating multiple rules that would match every scenario expect the one you would like not to redirect.

Regards,

Isaías

Private_Member_19084
Active Contributor
0 Kudos

I already expected this...thx for help.

Former Member
0 Kudos

Hello Christian

Isaias is right. There is no option to define an exception using the parameter icm/HTTP/redirect_<xx>.

Regards

Srikanth

Answers (0)