on 06-18-2008 9:55 PM
Hello Gurus;
we wanted a BSP which should be accessible through internet. So we have installed the webdispatcher in DMZ.
http://wdisp_host:port/sap/bc/bsp/ztest takes to the required page. Now we have got a domain www.company.com and this is defined in our DNS to go to the host where webdispatcher is installed.
i.e. in DNS we have: www.company.com wdisp_host
Now how can I redirect this to webdispatcher to access the BSP.
Can we use some thing like a reverse proxy (IIS) for redirecting to the webdispatcher.
Please advise.
Hello,
Yes you need a reverse proxy like Apache or IIS able to rewrite URL.s
The SAP web dispatcher is only able to redirect URLs.
For the same requirement, I had to chain an Apache reverse proxy (with URL rewriting rules) and a SAP web dispatcher for HTTP load balancing.
Regards,
Olivier
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Olivier. I was on the same opinion, but I was thinking to go another way. We can make webdispatcher to listen on port 80 and can do the required redirection in webdispatcher.
icm/server_port_1 = PROT=HTTP, PORT=80, TIMEOUT=45, EXTBIND=1, HOST=www.company.com
icm/HTTP/redirect_0 = PREFIX=/, TO=/sap/bc/bsp/ztest
In this way we can eliminate reversy proxy (IIS or Apache). Let me know if this setup works.
Hi,
As I told you, the redirections don't work for internet access with a web dispatcher in a DMZ.
Why ? because a redirect is just sending a redirection command with the new URL to the user's browser.
In your example, I guess www.company.com is the host name visible on the internet which corresponds to the web dispatcher.
after the redirect, the web browser will display
http://www.company.com/sap/bc/bsp/ztest
which is not, I think, what you want.
Regards,
Olivier
I am not doing the redirect of the host here. Here is the scenario I think should work:
www.company.com>DNS (www.company.com = wdisp_host)-> wdisp_host ( configured webdisp to listen on port 80 and also redirect / to /sap/bc/bsp/ztest)--
>backend system
In this way we can be able to eliminate the Apache or IIS since webdispatcher is listening on port 80.
Hi Venkata,
I searched in the forums and found a thread that may help you:
[WebDispatcher: URL rewrite|/thread/796993 [original link is broken];
Regards, Boris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.