cancel
Showing results for 
Search instead for 
Did you mean: 

Hide Web dispatcher URL

Former Member
0 Kudos

Hi,

we are looking for an option in web dispatcher Through that we can hide the re-directed URL completely.

Current behavior

Webdispatcher URL: - http://web.abc.com

After login :- http://web.abc.com/sap/bc/ui5_ui5/ui2/ushell/shells/abap/Fiorilaunchpad.html?

My query is that I want to completely hide the URL even after login also. after login it shows me complete URL ‘http://web.abc.com/sap/bc/ui5_ui5/ui2/ushell/shells/abap/Fiorilaunchpad.html?’

Please advise.

Profile parameter which is set.

#-----------------------------------------------------------------------

# SAP Web Dispatcher Ports

#-----------------------------------------------------------------------

icm/server_port_1 = PROT=HTTP,HOST=webdesp,PORT=80

icm/server_port_0 = PROT=HTTPS,HOST=webdesp,PORT=443,TIMEOUT=180,PROCTIMEOUT=600,VCLIENT=0

icm/HTTP/admin_0 = PREFIX=/sap/admin,DOCROOT=$(DIR_DATA)$(DIR_SEP)icmandir,AUTHFILE=$(icm/authfile),PORT=81$$

icm/HTTP/redirect_0 = PREFIX=/,TO=/sap/bc/ui5_ui5/ui2/ushell/shells/abap/Fiorilaunchpad.html?

icm/HTTP/mod_0=PREFIX=/,FILE=d:/usr/sap/DSP/SYS/profile/mod_sapwebdisp

ms/https_port = 443

icm/traffic_control = NETTIMEOUT=60

mod_sapwebdisp :-

if %{HTTP_HOST} regimatch "web.abc.com*"

RegIRewriteUrl ^/$ /sap/bc/ui5_ui5/ui2/ushell/shells/abap/Fiorilaunchpad.html?



Regards


Amit Sisodia

Accepted Solutions (0)

Answers (3)

Answers (3)

devender_goyal2
Explorer
0 Kudos

Hi,

I am also looking for the same solution.

I know we can hide by creating the external alias in SICF. but it doesn't hide the entire URL.

steps:

1. tcode: SICF select Alias in "Hierarchy Type" . Press F8

2. click on new and create a new external alias eg FLP

3. In the Trg Element select the /sap/bc/ui5_ui5/ui2/ushell

and save it.

you can then use the below URL .

https://hostname:port/FLP/shells/abap/Fiorilaunchpad.htm

Regards,

Devender Goyal

LutzR
Active Contributor
0 Kudos

Hi Devender, I still do not get why this should be achieved. For optical cleanup? There will always be URL parameters that will mess up optics.

If you want to achieve that typing in URL https://hostname:port/ in the address bar will launch fiori launchpad then this can be achieved by a redirect rule on ICM or SAP Web Dispatcher profile level.

What we did around this topic:

1. Define an external alias /fiori pointing to /default_host/sap/bc/ui2/flp according to http://help.sap.com/saphelp_uiaddon10/helpdata/en/c9/44dc71fc7d49b4a1239a4231563c80/content.htm to shorten Fiori URLs

2. SAP Web Dispatcher (or ICM) profile gets a line for redirecting root access to /fiori:

icm/HTTP/redirect_0 = PREFIX=/, TO=/fiori

3. To avoid that people continue to use the old FLP URL (without cache busting) the ushell service gets a redirect on logon error to /fiori

There are no complaints around fiori URLs anymore since then.

But perhaps you have different requirements? Please explain.

Regards,

Lutz

Former Member
0 Kudos

Hi Nick Wells,

No its not completely different domain name. for your more information..

Current Webdispatcher URL: - http://web.abc.com

After login :- http://web.abc.com/sap/bc/ui5_ui5/ui2/ushell/shells/abap/Fiorilaunchpad.html?

and I want to completely hide the URL which i got even after login also. after login it shows me complete URL ‘http://web.abc.com/sap/bc/ui5_ui5/ui2/ushell/shells/abap/Fiorilaunchpad.html?’

so please suggest is it possible for us..can we hide the URL using webdispatcher....??

below is the profile parameter which i have set for this.

# SAP Web Dispatcher Ports

#-----------------------------------------------------------------------

icm/server_port_1 = PROT=HTTP,HOST=webdesp,PORT=80

icm/server_port_0 = PROT=HTTPS,HOST=webdesp,PORT=443,TIMEOUT=180,PROCTIMEOUT=600,VCLIENT=0

icm/HTTP/admin_0 = PREFIX=/sap/admin,DOCROOT=$(DIR_DATA)$(DIR_SEP)icmandir,AUTHFILE=$(icm/authfile),PORT=81$$

icm/HTTP/redirect_0 = PREFIX=/,TO=/sap/bc/ui5_ui5/ui2/ushell/shells/abap/Fiorilaunchpad.html?

icm/HTTP/mod_0=PREFIX=/,FILE=d:/usr/sap/DSP/SYS/profile/mod_sapwebdisp

ms/https_port = 443

icm/traffic_control = NETTIMEOUT=60

mod_sapwebdisp :-

if %{HTTP_HOST} regimatch "web.abc.com*"

RegIRewriteUrl ^/$ /sap/bc/ui5_ui5/ui2/ushell/shells/abap/Fiorilaunchpad.html?

Thanks,

Amit Sisodia

Former Member
0 Kudos

Hey Amit,

I've honestly never worried too much about the end part of the URL.

I have used DNS entries to mask the real hostname.  For our external facing SAP app, we use a web disp, but with an apache reverse proxy in front of it to worry about the URL.  Again, not so much for the "end" of the URL but for the hostname/port.  Sorry I'm not more help.

NICK

isaias_freitas
Advisor
Advisor
0 Kudos

Hello,

As far as I know, there is no way to hide the URI path (everything after the hostname of the URL, the "/sap/bc/...").

Former Member
0 Kudos

Please advice how we can hide the URL. What should be the settings.

Thanks

Amit Sisodia

Sriram2009
Active Contributor
0 Kudos

Hi Amit

Kindly check this SCN thread about your query

BR

SS

Former Member
0 Kudos

Hi SS,

thanks for your reply. but still the issue is persist.

Thanks

Amit Sisodia

Former Member
0 Kudos

Amit,

I know you said you wanted to "hide it".  But what would you rather it say?  A completely different domain name?