cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Webgui URL redirect to Web Dispatcher

ryano
Discoverer
0 Kudos

We are currently using SAML2 SSO, and all traffic is going through webdispatcher to our S/4 Hana installation. Everything works normally as long as traffic is going through the dispatcher.

Ex. https://dispatcher:port/sap/bc/gui/sap/its/webgui/

If traffic goes directly to the SAP application server, we end up getting Relay mapping errors, which are probably expected

Ex. https://S4appserver:port//sap/bc/gui/sap/its/webgui/

My question is, how to do redirect from direct hits of the app server: url https://S4appserver:port/sap/bc/gui/sap/its/webgui/ TO the web dispatcher https://dispatcher:port/sap/bc/gui/sap/its/webgui/

Accepted Solutions (1)

Accepted Solutions (1)

JPReyes
Active Contributor
0 Kudos

Hi Ryan,

The simple answer is you can't, even if you could redirecting the ICF URL to go to the web-dispatcher URL it will only create a loop

End users should have not been given the direct URL to ICF, You will need to educate your users to use the Web dispatcher.

Regards, JP

ryano
Discoverer

Thanks for responding Juan.

The users do not have the url. The issue came from auto generated MDG emails that contained the application server url.

After adding entries into table HTTPURLLOC, MDG automatically started using the dispatcher url instead of the application url. I actually didn't expect the result, but I'm very happy with it.

Thanks again!

JPReyes
Active Contributor
0 Kudos

That sounds good!

Answers (0)