Skip to Content
0

Logout issue with reverse proxy configuration for Fiori factsheet

Sep 17, 2017 at 01:08 PM

80

avatar image

Hello All,

We have implemented Fiori factsheet application in our landscape. As part of this we have defined the reverse proxy rules as below. This is working fine and my factsheet application is working as expected.

# All requests with / will be redirected to web dispatcher

ProxyPass / http://<WebDispatcher Host>:<Port>/ nocanon

ProxyPassReverse / <WebDispatcher Host>:<Port>/

But this setup is creating a problem while logoff. Whenever we logoff from Fiori launchpad, we are getting 503 service unavailable. (We have SAML configured in our system and the logout has to redirect to a custom URL).

If we change the reverse proxy rules as below, then the logoff is working but factsheet application is not loading.

# All requests with / will be redirected to web dispatcher

ProxyPass /sap http://<WebDispatcher Host>:<Port>/sap nocanon

ProxyPassReverse /sap <WebDispatcher Host>:<Port>/sap

The reason factsheet is not working in this case is because of URL mangling. The URL of factsheet application is something like this sap(bD1lbiZjPTawMA==)/bc/..

We tried to handle the URL mangling by having the below rule in reverse proxy. But this seems to be not working in our case.

RewriteRule ^/sap(.*)/bc/bsp/sap/public(.*) http://<Webdispatcher URL>/$0 [P]

We are not sure what is missing here. Any advise in this will be vert greatful.

Thanks,

Kishore.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers