Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

web dispatcher url Rewritting to several sap systems

Hello SAP NW Community,

we need a reverse Proxy to achieve   application of different SAP System via Internet. We desided to use web Dispatcher.

The host names of sap systems should not be visible,  because of this we create the following URL Rewritting rules.

For example:

AAA, BBB and CCC are sap System SIDs;

"" is the FQDN fron webdispatcher

The "icm_filter" Looks like this:


if% {HTTP_HOST} RegIMatch ""[and]

If% {PATH} RegIMatch "AAA"

RegIRewriteUrl ^/AAA/(.*)  /$1 [noescape]

SetHeader x-sap-webDisp-target-sid AAA [break]


the next rules are the same but for BBB and CCC.

The idea is to rewrite in background all URLs such as:


to :

http(s)://<FQDN from AAA>/...

The result is always the same: the rewritting for AAA works fine but for BBB and CCC we get -http error 404.

The results are independent from web browser(IE or Firefox).

The http trace Tools- HttpWatch Basis or Firebug show also no rewritting  for BBB und CCC.

According the documentation is web Dispatcher able to support  many "stateful" and "stateless"  connection to different backend sap System.

Do you have any ideas why the rewritting works only for the first sap System?

We tested with different browser and Browser sessions but the resul was the same.



Former Member

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question