This how to guide describes configuring SAP Web Dispatcher as a reverse proxy for the SAP Enterprise Portal so that you can easily publish the SAP Portal over the Internet.
Copy the following 2 files to a directory on the host where you want to configure the Web dispatcher:
from the following location of the Portal Server:
The Uncar the file icmadmin.SAR, using SAPCAR tool.
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
ntscmgr install SAPWebdispatcher -b
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.
The URL redirect:
If you want to access the portal using the URL http:// HOST-FOR-WEBDISP and you are using SAP Webdispatcher, then you need to redirect the above URL to http:// HOST-FOR-WEBDISP /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.