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

Multiple internal SAP servers with one Web Dispatcher

$
0
0

Hello

 

I am trying to configure Web Dispatcher to send traffic to a different internal server based on the URL entered. I am trying to use 'modification rules' to achieve this.

 

I have added the following to my profile:

 

icm/HTTP/mod_0 = PREFIX=/,FILE=C:\usr\sap\WPQ\SYS\profile\icm_filter_rules.txt

wdisp/system_0 = SID=AAA, MSHOST=192.168.1.32, MSPORT=8101

wdisp/system_1 = SID=BBB, MSHOST=192.168.1.31, MSPORT=8101

 

The contents of icm_filter_rules.txt:

 

if %{HTTP_HOST} regimatch aaa*

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

if %{HTTP_HOST} regimatch bbb*

SetHeader x-sap-webdisp-target-sid BBB [break]

RegForbiddenUrl ^/(.*) -

 

The result is that both URLs aaa.domain.com and bbb.domain.com both get routed to the first server, aaa.com / 192.168.1.32. I can't get bbb.domain.com to go to the BBB system / 192.168.1.31!

 

What could I be doing wrong please?

 

Cheers


Viewing all articles
Browse latest Browse all 8877

Trending Articles



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