cancel
Showing results for 
Search instead for 
Did you mean: 

URL forwarding for Web Dispatcher (one portal- 2 apps - need two external URLs)

Former Member
0 Kudos

Our requirement is to have 2 systems configured in this webdisp. Which I have done and can access through web disp host using direct URL.


Our URL dataflow is like this

App hosts (portal and SRM) --> Webdisp DMZ (hostname saprouter) --> using load balancer for external world.

External addresses for portal and SRM.

Market.abc.com
Campl.abc.com (both this address for same portal but diff app)
swim.abc.com - for SRM SUS

Portal Sceneiro

Our ennterprise portal also has a add on called biller direct and ESS. To login to portal we give http://sapepqci.abc.com:51400/irj/portal and to log in to biller direct we give http://sapepqci.abc.com:51400/bd/public/frameset_top_html.jsp

We have installed webdispatcher in DMZ.(hostname saprouter) I can access like this

http://saprouter.abc.com/bd  the page will show like this http://sapepqci.abc.com:51400/bd/public/frameset_top_html.jsp

and  http://saprouter.abc.com the page turns like this http://sapepqci.abc.com:51400/irj/portal


We will be  using load balancer and external names are like this for ESS portal
Market.abc.com=http://saprouter.abc.com --> page is coming no problem.

camp.abc.com  =http://saprouter.abc.com//bd/public/frameset_top_html.jsp --> How to confgiure? As our load balancer is getting anything with  saprouter.abc.com/ = market.abc.com


Second question.

We have SRM SUS ABAP page and I have configured that too in webdisp
host saprouter.

so if execute http://saprouter.abc.com:8000/sap/bc/bsp/sap/srmsus/default.htm I am getting that page without any problem. But for external world this need to be configured as "swim.abc.com" Which parameter I am missing as when we give saprouter.abc.com:8000 it is bringing portal and not SRM application.

How to configure that big SRM url to point to swim.abc.com using same webdisp?


Attaching my current webdisp profile.


--------------------------------------
Profile
--------------------------------------

SAPSYSTEMNAME = WD1
SAPSYSTEM = 00
INSTANCE_NAME = W00
DIR_CT_RUN = $(DIR_EXE_ROOT)/$(OS_UNICODE)/linuxx86_64
DIR_EXECUTABLE = $(DIR_CT_RUN)
DIR_PROFILE = $(DIR_INSTALL)/profile
_PF = $(DIR_PROFILE)/WD1_W00_saprouter
SETENV_00 = DIR_LIBRARY=$(DIR_LIBRARY)
SETENV_01 = LD_LIBRARY_PATH=$(DIR_LIBRARY):%(LD_LIBRARY_PATH)
SETENV_02 = SHLIB_PATH=$(DIR_LIBRARY):%(SHLIB_PATH)
SETENV_03 = LIBPATH=$(DIR_LIBRARY):%(LIBPATH)
SETENV_04 = PATH=$(DIR_EXECUTABLE):%(PATH)
#-----------------------------------------------------------------------
# Accesssability of Message Server
#-----------------------------------------------------------------------
wdisp/system_0 = SID=EPQ, MSHOST=sapepqjava.abc.com, MSPORT=8112, SRCURL=/irj, SRCSRV=*:80
wdisp/system_1 = SID=SRQ, MSHOST=sapsrqabap.abc.com, MSPORT=8103, SRCSRV=*:8000
wdisp/system_2 = SID=EPQ, MSHOST=sapepqjava.abc.com, MSPORT=8112, SRCURL=/bd, SRCSRV=*:80

#-----------------------------------------------------------------------
# Configuration for large scenario
#-----------------------------------------------------------------------
icm/max_conn = 16384
icm/max_sockets = 16384
icm/req_queue_len = 6000
icm/min_threads = 100
icm/max_threads = 250
mpi/total_size_MB = 500
mpi/max_pipes = 21000
#-----------------------------------------------------------------------
# SAP Web Dispatcher Ports
#-----------------------------------------------------------------------

icm/server_port_0 = PROT=HTTP,PORT=80, EXTBIND=1
#icm/server_port_1 = PROT=HTTPS,PORT=443,EXTBIND=1
icm/server_port_1 = PROT=HTTPS,PORT=1443
icm/server_port_2 = PROT=ROUTER,PORT=50000
exe/icmbnd = /sapmnt/WD1/exe/uc/linuxx86_64/icmbnd.new
icm/server_port_3 = PROT=HTTP,PORT=8000
icm/server_port_4 = PROT=HTTPS,PORT=8001

icm/HTTP/redirect_0 = PREFIX=/,TO=/irj/portal,HOST=saprouter.abc.com
icm/HTTP/redirect_1 = PREFIX=:8000/sap/bc/bsp/sap/srmsus/default.htm,TO=/default.htm, HOST=saprouter.abc.com
#icm/HTTP/redirect_1 = PREFIX=:8000/sap,TO=/sap/bc/bsp/sap/srmsus/default.htm, HOST=saprouter.abc.com
icm/HTTP/redirect_2 = PREFIX=/bd,TO=/bd/public/frameset_top_html.jsp,HOST=saprouter.abc.com

# SAP Web Dispatcher Parameter
wdisp/auto_refresh = 120
wdisp/max_servers = 100

# Parameter fuer das HTTPS routing
wdisp/HTTPS/dest_logon_group = HTTPS
wdisp/HTTPS/max_client_ip_entries = 100000
wdisp/HTTPS/sticky_mask = 255.255.255.0
icm/HTTP/admin_0 = PREFIX=/sap/admin,DOCROOT=./admin

#SSL
ssl/server_pse =/usr/sap/WD1/W00/sec/SAPSSLS.pse
ssl/client_pse = /usr/sap/WD1/W00/sec/SAPSSLC.pse
wdisp/ssl_cred =SAPSSLC.pse
icm/HTTPS/verify_client = 1
wdisp/ssl_encrypt = 0
wdisp/ssl_auth = 0
wdisp/add_client_protocol_header = true
wdisp/ssl_certhost = *.abc.com

#-----------------------------------------------------------------------
# Start webdispatcher
#-----------------------------------------------------------------------
_WD = wd.sap$(SAPSYSTEMNAME)_$(INSTANCE_NAME)
Execute_00 = local rm -f $(_WD)
Execute_01 = local ln -s -f $(DIR_EXECUTABLE)/sapwebdisp$(FT_EXE) $(_WD)
Start_Program_00 = local $(_WD) pf=$(_PF)
SETENV_05 = SECUDIR=$(DIR_INSTANCE)/sec
ssl/ssl_lib = $(DIR_EXECUTABLE)$(DIR_SEP)$(FT_DLL_PREFIX)sapcrypto$(FT_DLL)
sec/libsapsecu = $(ssl/ssl_lib)
ssf/ssfapi_lib = $(ssl/ssl_lib)
Execute_02 = local $(DIR_EXECUTABLE)/sapmscsa pf=$(_PF) -n


Accepted Solutions (0)

Answers (1)

Answers (1)

former_member185864
Active Participant
0 Kudos

Hi Keder,

For You first question, answer will be -

Setup rules as below in Webdispatcher whitelist where we need to define url rules like Permit(P) or Deny(D).

In your case you did setup as below

  1) Market.abc.com=http://saprouter.abc.com

  2) camp.abc.com  =http://saprouter.abc.com/bd/public/frameset_top_html.jsp

If the user will enter the any one of the urls the first conditon will be passed the reason is both urls having  http://saprouter.abc.com  is the common and then it is executing for all users.

So to avoid this, please apply below logic;

Ans -

1) camp.abc.com  =http://saprouter.abc.com/bd/public/frameset_top_html.jsp

2) Market.abc.com=http://saprouter.abc.com  

camp.abc.com  =http://saprouter.abc.com/bd/public/frameset_top_html.jsp --> Set this url first in rule file; so that if the user will use this URL then it will execute first and takes them to right page.

Market.abc.com=http://saprouter.abc.com   --> if the user will use this URL it will compare with condtion (1) and it will fail there because that is having extra path; then It will move to next level to comapare .so set this condtion in the bottem.

Best Regards,

Nagaraju

Thanks,

Nagaraju

Former Member
0 Kudos

Set this url first in rule file;  >>

Where? In the load balancer right?  I think I cannot set this rule in sapwebdisp profile.

gautam_singh
Participant
0 Kudos

Hi Kedar,

Check the example in the below mentioned link for creating rule.

SAP Web Dispatcher as a URL Filter

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/9ac19148c673e8e10000000a42189b/frameset.htm

Thanks

Gautam Singh