cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Web Dispatcher as reverse proxy for SAP Portal 7.3

Fabrizio_Irmici
Participant
0 Kudos

Hi guys,

I'm trying to use the Web Dispatcher in front of a SAP EP 7.3

My SAP EP uses the 50001 port for HTTPS, so I need that the Web Dispatcher forwards the incoming connection to https://<SAP_EP_host>:50001

Using icm/HTTP/redirect_0 parameter I'm able to redirect the connection, but I see "new" hostname and port written into the URL!

My aim obviously is that the Web Dispatcher redirects the connection without an URL modification (standard mechanism of  a Reverse Proxy like Apache)

I read this topic, but it doesn't fit my scenario:

How to...Configure SAP Webdispatcher as a reverse proxy

Could you help me? OSS Support invited me to ask you for this problem

Best regards,

Fabrizio

Accepted Solutions (0)

Answers (4)

Answers (4)

Fabrizio_Irmici
Participant
0 Kudos

Hi guys,

I solved this morning the problem!

It is necessary to connect the Web Dispatcher with the Message Server of the Java Application Server (SAP Portal) with these two important parameters:

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

# Accesssability (new feature)

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

wdisp/system_0 = SID=<SID SAP Portal> MSHOST=<SAP_EP_host>, MSPORT=<Message Server HTTP port>, SRCSRV=*:*

icm/HTTP/redirect_0 = PREFIX=/, FROMPROT=HTTP, TO=/irj, PROT=HTTPS, HOST=<Web Dispatcher host name >, PORT=443

The second parameter redirects the incoming traffic from HTTP to HTTPS.

Regards,

Fabrizio

Former Member
0 Kudos

Hi Fabrizio,

does your configuration rewrite URL in both directions ?

I mean:

client (publicportalname.com) --> web dispatcher (internalportalname.com) --> portal

portal (internalportalname.com) --> web dispatcher (publicportalname.com) --> client

Have you changed anything in the Portal configuration for this ?

Thank you,

Luigi

Fabrizio_Irmici
Participant
0 Kudos

Hi Luigi,

my configuration works properly, I used as template the following configuration:

# SAP Web Dispatcher Ports

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

icm/server_port_2 = PROT=HTTPS,PORT=443, EXTBIND=1

#-----------------------------------------------------------------------
# Accesssability (new feature)
#-----------------------------------------------------------------------

wdisp/system_0 = SID=SLE, MSHOST=vmw4371, MSPORT=8101, SRCURL=/irj;/logon;/nwa;/webdynpro, SRCSRV=wdpserver.sle.sap.corp:*
wdisp/system_1 = SID=SLR, MSHOST=vmw4373, MSPORT=8100, SRCURL=/sap, SRCSRV=*:80

icm/HTTP/redirect_0 = PREFIX=/irj, FROM=/irj/*, FROMPROT=HTTP, PROT=HTTPS, HOST=wdpserver.sle.sap.corp, PORT=443
icm/HTTP/redirect_1 = PREFIX=/webgui, TO=/sap/bc/gui/sap/its/webgui
icm/HTTP/redirect_2 = PREFIX=/, TO=/sap/wdisp/admin

Regards,

Fabrizio

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi Fabrizio,

Can you paste Web-dispatcher instance profile details.It will help me analyse the issue.

Best Regards,

Keerthan Shetty

Former Member
0 Kudos

Hi Fabrizio,

I have a similar problem...have you find any help ?

Best Regards,

Luigi