on 07-22-2014 11:07 AM
Hi experts,
I would like to maintain a modification rule in our webdisptacher, as I want to route to more SAP-Systems.
But in the UI the rules are empty and also the field "Name of rule File": is empty.
Where do I have to define the rule file?
Further I also want to make a URL-File, only to permit defined URLs.
Where can I maintain this?
Thank you
Search before posting, the documentation covers the topics. See Defining HTTP Request Modifications Creating and Maintaining an Action File - Internet Communication... and Filtering URLs - Internet Communication Manager (ICM) - NetWeaver - SAP Library as a starting point. If you are looking at using the multiple system scenario, see One Web Dispatcher, Two Systems: Configuration Example - SAP Web Dispatcher - SAP Library.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Got the answer from SAP
in the filer rule it must be
RegForbiddenUrl ^/(.*) -
instead of
RegForbiddenUrl ^/(.*)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all,
I've now done the upgrade to 7.41.
But it still want work.
Modification rule file seems to be loaded correctly.
Further in web-administration I can see the SIDs
In trace I get the following error:
[Thr 3632] *** ERROR => IcrFindTargetSystem() failed for request <webpage after />.
[http_plg.c 9313]
[Thr 3632] *** ERROR => No target SAP system for
request {0004000c} [http_route.c 2550]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If I only call the host name (fqn) of the web dispatcher, I get the following reject:
[Thr 1812] *** ERROR => IcrFindTargetSystem() failed for request /.
[http_plg.c 9313]
[Thr 1812] *** ERROR => No target SAP system for
request {00000006} [http_route.c 2550]
Should it not be the hostname instead of the "/" after request?
Hi Christian,
Is it just with FQDN ?
Did you try with hostname only ?
Also, did you check :
https://help.sap.com/saphelp_nwce72/helpdata/en/c5/ec466f5544409982c7d3ca29ce1ad3/content.htm
https://help.sap.com/saphelp_nw73/helpdata/en/1b/b0fd8a12344c4ca89b7a1c5d1d7310/content.htm
You should also update host file and services file in windows--system32--drivers--etc for any remote system called.
Divyanshu
Thanks for the links, I made the config already based on this.
however, I think the modification file is not found.
It is confusing, what is the real syntax:
At the moment I use this:
icm/HTTP/mod_0 = PREFIX=\, FILE=$(DIR_PROFILE)\icm_filter_rules.txt
(Prefix / does not work, maybe because of Windows, but I don't know).
But in the webui ->Modification Handler->name of rule file is "-" and the path to the file is written in prefix.
But this is the syntax, as it is written in the sap-docu, or not?
Kind regards
One further question.
I tired now to make a modification rule, but it didn't work.
The routing seems to be wrong.
At the moment I have a config file which includes the server entries:
rdisp/mshost = <hostname>
ms/http_port = 81<sidno>
And on entering the dispatcher host the forwarding to the sap-service runs perfect.
Now I would like to make a modification rule, based on different Aliases, so that I can attach more SAP-Systems to the dispatcher.
Therefore I did create the modification file:
if %{HTTP_HOST} regimatch www1*
SetHeader x-sap-webdisp-target-sid <sid1> [break]
if %{HTTP_HOST} regimatch www2*
SetHeader x-sap-webdisp-target-sid <sid2> [break]
RegForbiddenUrl ^/(.*)
Further in the config I removed rdisp/mshost and ms/http_port and included the following:
wdisp/system_0 = SID=<sid1>, MSHOST=<host1>, MSPORT=81<sidno1>
wdisp/system_1 = SID=<sid2>, MSHOST=<host2>, MSPORT=81<sidno2>
But on entering www1 I get an error message, what is the problem here?
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.