Hello,
Hope someone can tell me what I'm missing.
We have an SAP Web Dispatcher 7.2 running in our DMZ that is acting as a reverse proxy of sorts for an internal Netweaver 7.3 Portal.
External users (the general public on the internet) should be able to go to http://abc.company.com and the Web Dispatcher is supposed to send them to the internal Netweaver 7.3 server. The problem is if I go to that address, I get a "Page cannot be displayed".
So I ran a Fiddler trace when trying to go to the address and what's really happening is that my browser gets the 307 redirect and then immediately gets a 502 Bad Gateway response and it shows the name of the internal server (which is bad as well).
The odd thing is that if I instead enter the address that goes directly to the application, it partially works. Let me explain. While we are running a Netweaver 7.3 portal, we are not requiring user to logon to get to this specific Web Dynpro app. So that is where the Web Dispatcher comes into play. The user should be able to type http://abc.company.com and what should happen on our end is the Web Dispatcher should take them to http://internalsrvr.company.com/webdynpro/resources/company.com/vp/VPApp. From that point on, everything clicked on within the app works as expected. It's just the initial redirect that isn't working.
I know I'm missing something obvious in the config, but I copied this config from another config from a test system that was working and just altered server names and pathing as needed.
So could someone please help me out and take a look at these config files tell me if I'm missing something obvious. Any help is appreciated.
Web Dispatcher Profile:
SAPSYSTEMNAME = ABC
SAPGLOBALHOST = sapwdsrvr
SAPSYSTEM = 00
INSTANCE_NAME = W00
DIR_CT_RUN = $(DIR_EXE_ROOT)\$(OS_UNICODE)\NTAMD64
DIR_EXECUTABLE = $(DIR_CT_RUN)
DIR_PROFILE = $(DIR_INSTALL)\profile
_PF = $(DIR_PROFILE)\ABC_W00_sapwdsrvr
SETENV_00 = PATH=$(DIR_EXECUTABLE);%PATH%
Autostart = 1
#-----------------------------------------------------------------------
# Accessability of Message Server
#-----------------------------------------------------------------------
rdisp/mshost = internalsrvr.company.com
ms/http_port = 8101
#-----------------------------------------------------------------------
# Configuration for medium scenario
#-----------------------------------------------------------------------
icm/max_conn = 500
icm/max_sockets = 1024
icm/req_queue_len = 500
icm/min_threads = 10
icm/max_threads = 50
mpi/total_size_MB = 80
#-----------------------------------------------------------------------
# SAP Web Dispatcher Ports
#-----------------------------------------------------------------------
#icm/server_port_0 = PROT=HTTP,PORT=81$$
icm/server_port_0 = PROT=HTTP,PORT=80
#-----------------------------------------------------------------------
# SAP Web Dispatcher URL Rewrites
#-----------------------------------------------------------------------
icm/HTTP/mod_0 = PREFIX=/,FILE=C:\usr\sap\ABC\SYS\profile\filter_rules.txt
#-----------------------------------------------------------------------
# Start webdispatcher
#-----------------------------------------------------------------------
_WD = $(DIR_EXECUTABLE)\sapwebdisp$(FT_EXE)
Start_Program_00 = local $(_WD) pf=$(_PF)
SETENV_01 = SECUDIR=$(DIR_INSTANCE)/sec
ssl/ssl_lib = $(DIR_EXECUTABLE)$(DIR_SEP)$(FT_DLL_PREFIX)sapcrypto$(FT_DLL)
sec/libsapsecu = $(ssl/ssl_lib)
ssf/ssfapi_lib = $(ssl/ssl_lib)
Filter_Rules.txt
# Web Dispatcher Rules
if %{HTTP_HOST} RegIMatch abc.company.com*
SetHeader x-sap-webdisp-target-sid SVP
if %{HTTP_HOST} RegIMatch abc.company.com*
RegIRewriteUrl ^/$ /webdynpro/resources/company.com/vp/VPApp [break]
I appreciate any help!
Thanks,
Tom