cancel
Showing results for 
Search instead for 
Did you mean: 

How to do URL Mapping in web dispatcher ?

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

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]

Former Member
0 Kudos

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

sunny_pahuja2
Active Contributor
0 Kudos