Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

Can we hide/ Rewrite the Fiori Launchpad URL using SAP Web- Dispatcher?

$
0
0

Hello Guru's,

 

Can we Hide/ Rewrite the Fiori Launchpad URL using SAP Web- Dispatcher?

 

I've created Custom Alias in SAP Web-Dispatcher which works pretty well. When I'm hitting https://abc.mycompany.com it is taking me to Fiori Launchpad without any error but it is giving me entire path which not only exposing the SAP Client No but also looks big.


SAP Web-dispatcher URL: - https://abc.mycompany.com

After login :- https://abc.mycompany.com/sap/bc/ui5_ui5/ui2/ushell/shells/abap/Fiorilaunchpad.html?sap-client=XXX&sap-language=GB


My query is that I want to completely hide or Rewrite the URL even after login also. At this point of time, after login it is showing me complete URL https://abc.mycompany.com/sap/bc/ui5_ui5/ui2/ushell/shells/abap/Fiorilaunchpad.html?sap-client=XXX&sap-language=GB

 

I've gone through other threads but no Luck,

 

Note: If we use same URL in Mobile Devices Browsers; it is perfect. It only shows the FQDN (No path after that.....)


I've tried this,

Incoming Source URL:  https://abc.mycompany.com

 

Internal Target URL:     https://ecc.fiori.intra:8011/sap/bc/ui5_ui5/ui2/ushell/shells/abap/Fiorilaunchpad.html?sap-client=XXX&sap-language=GB

 

Redirect rule for internal URL would be:

 

icm/HTTP/redirect_0 = PREFIX=/, FROM=/, TO=/sap/bc/ui5_ui5/ui2/ushell/shells/abap/Fiorilaunchpad.html?sap-client=XXX&sap-language=GB, PROT=HTTPS, HOST=abc.mycompany.com, PORT=443

 

To make our target URL hidden :


sapwebdis.pfl

icm/HTTP/mod_0 = PREFIX=/,FILE=c:\Program Files\sap\sapwebdisp\Filter_Rules.txt

 

Filter_Rules.txt

SetHeader clientProtocol HTTPS

RegIRewriteUrl (.*) /sap/bc/ui5_ui5/ui2/ushell/shells/abap/Fiorilaunchpad.html?sap-client=XXX&sap-language=GB=abc.mycompany.com [qsreplace]


Post to that, when hitting the URL...... Fiori Launchpad is not coming properly (No Flower, Logon Boxes are not in place) and its with error as "Uncaught SyntaxError: Unexpected token <"


Please advise.

 

KR,

~ Mahendra


Viewing all articles
Browse latest Browse all 2823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>