on 10-02-2015 10:17 PM
Hi there,
We have setup a new webdispatcher which will redirect requests to our enterprise portal. The webdispatcher was built using sapinst and the profile is being maintained through the MMC not by the sapwebdisp.pfl file. The redirect seems to be working properly, but when we put the webdispatcher into maintenance mode the redirect still goes directly to the portal, and does not display the maintenance mode page. Would there be a specific parameter in the MMC that I have missed to configure? Anyone else have this issue??
Any information would be greatly appreciated.
Kind regards,
Chris
Hello Chris,
What do you mean by "redirect"?
Did you configure the Web Dispatcher to send a "redirect response" to the end user, so the end user reaches the Portal system directly?
Attaching the Web Dispatcher profile to this thread might be helpful as well.
Kind regards,
Isaías
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Isaias,
Shown below is the profile. I am just trying to get the standard maintenance mode working. I built a few webdispatchers a few years ago and setup the profile by running the sapwebdisp.exe -bootstrap method. This time we just built the webdispatcher using sapinst and edited the parameters through the MMC. It will reach the portal, but when I place it in maintenance mode you can still access the portal normally, which I don't expect. Perhaps the webdispatcher isn't communicating to the portal properly??
Anyways thanks again for the response, and below is the profile:
#generated by user: Fri Oct 02 11:43:55 2015
SAPSYSTEMNAME=NXX
SAPGLOBALHOST=NXXXXX
SAPSYSTEM=00
INSTANCE_NAME=XXX
DIR_CT_RUN=$(DIR_EXE_ROOT)\$(OS_UNICODE)\NTAMD64
DIR_EXECUTABLE=$(DIR_CT_RUN)
DIR_PROFILE=$(DIR_INSTALL)\profile
_PF=$(DIR_PROFILE)\NXX_XXX_XXXXXX
SETENV_00=PATH=$(DIR_EXECUTABLE);%PATH%
#-----------------------------------------------------------------------
# Accesssability of Message Server
#-----------------------------------------------------------------------
rdisp/mshost=nXXXXXXX.XXXXX.XX
ms/http_port=8101
#-----------------------------------------------------------------------
# Configuration for medium scenario
#-----------------------------------------------------------------------
icm/max_conn=500
icm/max_sockets=1024
icm/req_queue_len=500
icm/min_threads=10
icm/max_threads=50
mpi/total_size_MB=80
#-----------------------------------------------------------------------
# SAP Web Dispatcher Ports
#-----------------------------------------------------------------------
icm/server_port_0=PROT=HTTP,PORT=8100,TIMEOUT=90,PROCTIMEOUT=600
icm/server_port_1=
icm/server_port_2=
icm/server_port_3=
icm/server_port_4=
icm/HTTP/admin_0=PREFIX=/sap/admin,DOCROOT=D:\usr\sap\XXX\XXX\data\icmandir/admin,PORT=8100,AUTHFILE=D:\usr\sap\XXX\SYS\global\security\data\icmauth.txt
#-----------------------------------------------------------------------
# Start webdispatcher
#-----------------------------------------------------------------------
_WD=$(DIR_EXECUTABLE)\sapwebdisp$(FT_EXE)
Start_Program_00=local $(_WD) pf=$(_PF)
SETENV_01=SECUDIR=$(DIR_INSTANCE)/sec
is/HTTP/show_detailed_errors=FALSE
icm/HTTP/redirect_0=PREFIX=/,TO=/irj/portal,HOST=nsportal.ycdsb.ca,PORT=50000,FROM=/*
icm/HTTPS/verify_client=0
Hello,
icm/HTTP/redirect_0=PREFIX=/,
TO=/irj/portal,HOST=nsportal.ycdsb.ca,PORT=50000,FROM=/*
This parameter is effectively making the end users bypass the Web dispatcher and access the Portal system directly.
Please change it to the below, and it should work fine then .
icm/HTTP/redirect_0 = PREFIX=/, TO=/irj/portal
Regards,
Isaías
Hello Chris,
It is better to ask different questions in separate threads.
This way, other SCN users can find the information they are looking for more clearly.
Anyway, see the following SAP Help pages:
Maintenance Mode - SAP Web Dispatcher - SAP Library
Setting Up Your Own Error Pages - SAP Web Dispatcher - SAP Library
Regards,
Isaías
icm/HTTP/file_access_0 i changed the PREFIX to /irj/images/ instead of /images/
working fine now...thanks guys!
regards Marco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
FYI
hmmz deleted wdisp/system_0 from my profile and added rdisp/mshost and ms/http_port to my profile. Both containing my backend (portal). This works but now my customized errorpage is shown without jpegs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
You should not use "rdisp/mshost" and "ms/http_port".
These are deprecated parameters and were replaced by the "wdisp/system_X" parameter.
The Web Dispatcher will act similar to a proxy server.
When you access https://<webdispatcherhost>:<port>/irj/portal the Web Dispatcher will choose which Portal instance will handle the request and forward the request to that instance.
The Portal will reply to the Web Dispatcher, which will forward the response to the end user.
Regards,
Isaías
Hi Isaias,
Can't get it working with the new parameter, with the deprecated it does work.
example (made during install):
wdisp/system_0 = SID=<SID_BACKEND>, MSHOST=<HOSTNAME_BACKEND>, MSPORT=8101, SSL_ENCRYPT=2, SRCURL= /
Doesn't work.
What does work is:
rdisp/mshost = <HOSTNAME_BACKEND>
ms/http_port = 8101
What am I doing wrong?
Kind regards Marco
Hi Isaias,
I understand that ;-). I expect people to add the webdispatcher URL in their browser. The webdispatcher redirect to the portal. When I delete parameter HOST from icm/HTTP/redirect_0 the behaviour will be https://<webdispatcherhost>:<port>/irj/portal and that url does not exist.
please explain 😉
Regards Marco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chris,
Did you install the webdispatcher on the portal system or on a dedicated server?
We have the same problem.
I also added the portal hostname to the redirect. Without the hostname it adds /irj/portal to the webdispatcher host.
Kind regards Marco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.