cancel
Showing results for 
Search instead for 
Did you mean: 

Webdispatcher manipulate URL Display for Users

Former Member
0 Kudos

Dear SCN,

we have set up a webdisptacher Hostname: hostwebdisp01 which returns requests on port 80 to our Solutionmanager workcenter. The users can access this by typing sapservicedesk in the browser. The config for this is:

WD1 Webdispatcher (working)

WD2 Webdispatcher test (not working)

SMP Solutionmanager

WD1:

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

# SAP Web Dispatcher Ports

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

icm/server_port_0 = PROT=HTTP,HOST=hostwebdisp01,PORT=80,EXTBIND=1

icm/server_port_1 = PROT=HTTP,HOST=localhost,PORT=80,EXTBIND=1

icm/server_port_2 = PROT=HTTP,HOST=sapservicedesk.europe.mycompany.net,PORT=80,EXTBIND=1

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

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

# accessible systems and port mappings

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

wdisp/system_0 = SID=SMP,MSHOST=hostsolman01.mycompany.net,MSPORT=8190,SRCSRV=sapservicedesk.europe.mycompany.net:80

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

wdisp/load_balancing_strategy = adaptive

icm/HTTP/server_cache_0 = PREFIX=/, CACHEDIR=/usr/sap/WD1/SYS/cache

icm/HTTP/redirect_0 = PREFIX=/, FOR=sapservicedesk, HOST=sapservicedesk.europe.mycompany.net, TO=/sap/bc/bsp/sap/crm_ui_start/default.htm

icm/HTTP/redirect_1 = PREFIX=/, FOR=sapservicedesk.europe.mycompany.net, HOST=sapservicedesk.europe.mycompany.net, TO=/sap/bc/bsp/sap/crm_ui_start/default.htm

Now i'm trying to set up another Test Webdispatcher with the following config:

Hostname: hostwebdisp02

URL Alias: sapservicedesktest

Target Hostname: hostjavastack

Target SID: JV1

Targetjavastack Systemnr: 45

WD2

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

# SAP Web Dispatcher Ports

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

icm/server_port_0 = PROT=HTTP,HOST=hostwebdisp02,PORT=80,EXTBIND=1

icm/server_port_1 = PROT=HTTP,HOST=localhost,PORT=80,EXTBIND=1

icm/server_port_2 = PROT=HTTP,HOST=sapservicedesktest.europe.mycompany.net,PORT=80,EXTBIND=1

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

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

# accessible systems and port mappings

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

wdisp/system_0 = SID=JV1,MSHOST=hostjavastack.europe.mycompany.net,MSPORT=8145,SRCSRV=sapservicedesktest.europe.mycompany.net:80

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

wdisp/load_balancing_strategy = adaptive

icm/HTTP/server_cache_0 = PREFIX=/, CACHEDIR=/usr/sap/WD2/SYS/cache

icm/HTTP/redirect_0 = PREFIX=/, FOR=sapservicedesktest, HOST=sapservicedesktest.europe.mycompany.net, TO=/sap/bc/bsp/sap/crm_ui_start/default.htm

icm/HTTP/redirect_1 = PREFIX=/, FOR=sapservicedesktest.europe.mycompany.net, HOST=sapservicedesktest.europe.mycompany.net, TO=/sap/bc/bsp/sap/crm_ui_start/default.htm

WD2 is not working. Do you have any clue what we have done wrong here?

best Regard!

Accepted Solutions (1)

Accepted Solutions (1)

manumohandas82
Active Contributor
0 Kudos

Hi

Suggestion based on first glance , Are you on a Unix system . If Yes , Check the following Note

421359 - ICM: Binding ports < 1024 on UNIX



No ,


Can you post your webdispatcher trace file


Thanks ,

Manu

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

we want to type in the browser "short-alias-for-nwa" and get to the User Interface of the nwa on our System "AA1". The Webdispatcher should get the request on the url "short-alias-for-nwa" and redirects it to the AA1 hostname "aa1.europe.mycompany.net" but we want that in the browser is still the url "short-alias-for-nwa" displayed that the user can't see the original Server url.

How can this be achieved?

thanks in advance

Julian

Former Member
0 Kudos

Since you don't want a redirect you can achieve your requirement by setting up Web Dispatcher for short-alias-for-nwa that connects to aa1.europe.company.net and using Rewriting URLs - Internet Communication Manager (ICM) - SAP NetWeaver - SAP Library. You can rewrite / to /nwa, you shouldn't rewrite anything else, otherwise even NetWeaver Administrator won't work.

Former Member
0 Kudos

Hi Julian,

What is the error you are facing ?

are you not able to start web dispatcher ?

REgards,

Pavan Gunda