How to…Configure SAP Webdispatcher as a reverse proxy
Copy the following 2 files to a directory on the host where you want to configure the Web dispatcher:
• sapwebdisp.exe • icmadmin.SAR
from the following location of the Portal Server:
drive:usrsapSIDJCxxexe The Uncar the file icmadmin.SAR, using SAPCAR tool. Step: 2 In the Command prompt go to the directory where you have copied the above 2 files and enter,
This will generate the profile file (sapwebdisp.pfl) for the first time usage.
After the PFL file is generated successfully as shown above, the URL to call:
The user name and password is generated during the configuration of the Webdispatcher for the first time.
You can access your portal now via following URL:
If you need to run your Webdispatcher again then use the following command from command prompt.
Check the process running in the Task manager:
You can also install the webdispatcher to run as a NT service. You need to first download ntscmgr.exe from Service Market Place and then use the following command to install the web dispatcher.
Check for the ntscmgr.exe file in the folder driveusrsapSIDJCxxexe folder before trying to download from the Service Market Place.
ntscmgr install SAPWebdispatcher -b drive:usrsapSID JCxxexesapwebdisp.exe -p service pf=sapwebdisp.pfl
If the above command somehow didn’t work properly, to fix this you need to do the following:
1. Edit the registry entry by running the program regedit. 2. Do a search for “SAPWebdispatcher” and change the ImagePath to where your sapwebdisp.exe is currently residing.
drive:usrsapSIDJCxxexesapwebdisp.exe service pf=sapwebdisp.pfl
The URL redirect:
If you want to access the portal using the URL https:// HOST-FOR-WEBDISP:PORT and you are using SAP Webdispatcher, then you need to redirect the above URL to https:// HOST-FOR-WEBDISP:PORT/irj/index.html. This can be achieved by editing the sapwebdisp.pfl file and adding the following parameter,
# SAP Web Dispatcher Web Administration
icm/HTTP/redirect_0 = PREFIX=/, TO=/irj/index.html
After doing this, restart the SAP Webdispatcher.