Skip to Content
avatar image
Former Member

How to update URL in Address Bar after Web Dispatcher Redirect?

In our current set-up, have a website that is accessible externally, where requests go to a SAP Web Dispatcher 7.49 connected to a SAP NW Gateway 7.5 system. icm_mod_redirect has been configured to rewrite certain URLs to External Aliases onn the Gateway System.

The observed behaviour is as follows:

1. User goes to external facing website e.g. https://www.example.com

2. Request hits SAP Web Dispatcher, which has a rule in icm_mod_redirect to rewrite to /home in the back-end Gateway Server (which is an External Alias for the Fiori Launchpad)

3. The browser loads the Fiori Launchpad Logon Page and the user enters their username/password (URL in the address bar is still https://www.example.com)

4. The Fiori Launchpad loads and the URL in the address bar changes to https://www.example.com/home

Is there any setting we can change so that in step 3, when the Fiori Launchpad Logon Page is loaded, the URL in the address bar updates to https://www.example.com/home? From a technical perspective, I understand that the rewrite already happens on the back end. We are just looking from a user-experience perspective because it seems like the rewrite is being obscured in the background before login. I suspect this is a technical limitation of the Web Dispatcher or it's how HTTP is implemented as a standard, but wanted to confirm. Thanks!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 24, 2017 at 08:29 PM

    So want to redirect at webdispatcher level? If YES please use filter_rules (Parameter:icm/HTTP/mod_0)

    Let me know if you need more help.

    -Yogesh

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Yogesh,

      Thanks for your reply. Upon further reading, I was able to expand my understanding of the issue and resolve it.

      In the filter rules file, I had put originally down the HTTP Action RegIRewriteURL to change from https://example.com to https://example.com/home. There is also the HTTP Action RegIRedirectURL which can be used. Based on the blog below, I found that Redirect would change the URL directly in the browser bar, unlike Rewrite.

      [External Link removed by Moderator]

      By changing from RegIRewriteURL to RegIRedirectURL, we were able to create the desired behaviour in the browser.

      - Doug