on 03-12-2016 9:47 AM
Hi All,
We have installed SAP Web dispatcher 7.4 and connected to SAP 7.4 Portal as back end. For webdispatcher we have given 7600 port.
Now we have a public domain: portal.mydomain.com and web dispathcer URL ins webdispatcher.mydomain.con:7600/irj
We have asked network team to map 80 port of public IP to 7600 of web dispatcher and they mapped it.
But when we are opening URL http://portal.mydomain.com then it automatically redirecting to http://portal.mydomain.com:7600/irj/portal.
The URL showing web dispatcher port on internet. Below are the redirect rules which we done in profile.
icm/HTTP/redirect_0 = PREFIX=/, TO=/irj
icm/HTTP/redirect_1 = PREFIX=/nwa, TO=/irj
icm/HTTP/redirect_2 = PREFIX=/sld, TO=/irj
icm/HTTP/redirect_3 = PREFIX=/monitoring/SystemInfo, TO=/irj
icm/HTTP/redirect_4 = PREFIX=/useradmin, TO=/irj
icm/HTTP/redirect_5 = PREFIX=/uddiclient, TO=/irj
icm/HTTP/redirect_6 = PREFIX=/webdynpro/welcome/Welcome.jsp, TO=/irj
icm/HTTP/redirect_7 = PREFIX=/wsnavigator, TO=/irj
Kindly let us know the parameter which can be mask the port in the URL.
Regards,
Sridhar
Hello Sridhar,
None of the redirect parameters you have pasted are adding the port number to the URL.
Was any setting performed at the Portal system, with regards to the Web Dispatcher?
Maybe it is something there that is adding the port.
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,
you should use URL rewrite by parameter icm/HTTP/mod_<xx> instead of URL redirect if you want to hide port in the URL.
For more info about icm/HTTP/mod_<xx> parameter, please see:
http://help.sap.com/saphelp_nwpi711/helpdata/en/4d/684daeecd446e7b5e9999496166e3f/frameset.htm
Defined icm/HTTP/mod_<xx> parameter into sapwebdispatcher profile:
icm/HTTP/mod_0 = PREFIX=/,FILE=$(DIR_GLOBAL)/security/data/icm_filter_rules.txt
Define Modification Actions in $(DIR_GLOBAL)/security/data/icm_filter_rules.txt file according to your requirement.
Regarding of Defining Modification Actions, please see:
http://help.sap.com/saphelp_nwpi711/helpdata/en/48/9266ffaa6b17cee10000000a421937/content.htm
For example:
if you want URL http://portal.mydomain.com:80 rewriting to http://portal.mydomain.com:7600/irj/portal.
you can define the Modification Actions file like:
# URL rewriting
if %{HTTP_HOST} regimatch portal.mydomain.com [and]
if %{SERVER_PORT} = 80
RegIRewriteUrl .* http://%{HTTP_HOST}:7600
Thanks and best regards,
Shi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.