on 01-30-2012 10:45 PM
I need to take an incoming URL and convert it to an internal URL using Web Dispatcher (URL Mapping)
example:
incoming Source URL: http://healthcarex1.com/customer22
internal Target URL: https://eccdev01.internal.com:54101/customer22/init.do?scenario.xcm=customer22
The application is CRM ISA - we have a Web dispatcher in front of a Java server connected to the ECC server. No calls are made to SICF with our application, so we do not use sicf.
Also, if there is another way to do this, possibly in visual admin...please let me know.
thanks!
Linwood
Edited by: Linwood Doty on Jan 31, 2012 12:08 AM
Hi,
If you use SAP Webdispatcher 7.2, you can use URL rewriting.
Check the documentation for parameter :
icm/HTTP/mod_0 = PREFIX=/,FILE=Filter_rules.txt
You define your rewrite rules in the Filter_rules.txt file.
Regards,
Olivier
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The Redirect is working good....But now I need to keep the incoming URL intact and not expose the internal URL..
I've been working 2 days off an on trying to figure this out....
Incoming URL example
-
http://eccdevj01.test.com:8088/Customer100
Redirect rule for internal URL
-
icm/HTTP/redirect_0 = PREFIX=/, FROM=/customer100, TO=/customer100/init.do?scenario.xcm=customer100, PROT=HTTPS, HOST=eccdevj01.test.com, PORT=54101
end result is that the internal URL is exposed in the browser.
I'm trying to not expose the internal URL with this rewrite but it does not work
.
RegIRewriteUrl ^/customer100(.*) /customer100/init.do?scenario.xcm=customer100 [qsreplace]
I was able to configure url rewrite for reverse proxy as follows:
incoming URL
http://eccdevj01.ams1907.com:8088/customer100
sapwebdis.pfl
icm/HTTP/mod_0 = PREFIX=/,FILE=c:\Program Files\sap\sapwebdisp\Filter_Rules.txt
Filter_Rules.txt
SetHeader clientProtocol HTTPS
RegIRewriteUrl (.*) /customer100/init.do?scenario.xcm=customer100 [qsreplace]
with this the internal URL is not exposed in the browser.
thanks,
Linwood
i
Hi,
check below link:
http://sapnwnewbie.blogspot.in/2011/09/301-redirect-using-sap-web-dispatcher.html
Thanks
Sunny
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.