Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8392

web dispatcher url Rewritting to several sap systems

$
0
0

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;

"wdisp.company.com" is the FQDN fron webdispatcher

The "icm_filter" Looks like this:

#--------------------------------------------------------------

if% {HTTP_HOST} RegIMatch "wdisp.company.com"[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:

http(s)://wdisp.company.com/AAA/...

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.

 

 

 

BR,

Rumen


Viewing all articles
Browse latest Browse all 8392

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>