Problem
You are trying to access NWA from a remote location and you are getting "403 forbidden" error as shown below:
Resolution
In order to allow access to NWA from a remote location you have to modify the icm filter rules. Follow the procedure described below.
Procedure:
- Open the DEFAULT profile file which is located in "/usr/sap/<SID>/SYS/profile", add the following line - icm/HTTP/mod_0 = PREFIX=/,FILE=$(DIR_GLOBAL)/security/data/icm_filter_rules.txt and Save
- Open icm_filter_rules.txt file which is located under "/usr/sap/<SID>/SYS/global/security/data", comment out all the lines below and Save:
- #if %{REMOTE_ADDR} !stricmp 127.0.0.1 [AND]
- #if %{REMOTE_ADDR} !stricmp ::1
- #RegIRedirectUrl ^/webdynpro/resources/sap.com/tc~lm~itsam~ui~mainframe~wd/(.)*$ /<SID>/remote_access_error [QSA]
- Restart the JAVA AS