on 11-11-2008 3:03 PM
Hi,
I just installed SAP web dispatcher with the purpose of using it (similar to saprouter for sapgui) as single point of entry for all http(s) requests to our SAP systems.
I configured parameters icm/HTTP/redirect_x to accomplish that but to only limited success:
How do I have to set this parameter if I want to accomplish a redirect of the web dispatcher URL (1) to the webgui service running on system ECC (2)?
Example:
1. web dispatcher URL:
http://sapwebdisp:85/ECC/webgui (should be routed to url:)
2. http://saperpecc:8001//sap/bc/gui/sap/its/webgui/!
Is this posssible at all?
Thanks for any hints and tips in advance!
For redirect (when your client browser will be asked to go to a new URL), below should do, though it is better to use FQDN, like sapwebdisp.corp.com
icm/HTTP/redirect_0 = PREFIX=/ECC/webgui, FOR=sapwebdisp:85,
FROM=*,TO=/irj/portal,HOST=saperpecc,PROT=HTTP,PORT=8001
If you want your client to see http://sapwebdisp:85 URL in the browser, but actual content of http://saperpecc:8001//sap/bc/gui/sap/its/webgui, this would be URL forwarding/routing.
In this case you need to use parameter
wdisp/server_info_location = info.icr
to point to ecc host
and also
icm/HTTP/redirect_0
to manipulate prefixes ECC/webgui -> sap/bc/gui/sap/its/webgui/ .
Regards,
Slava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are rigth, instead of /irj/portal should be /sap/bc/gui/sap/its/webgui. You could also use httpurlloc table in ECC instead of info.icr file.
Regards,
Ayax
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
The parameter has the following syntax:
icm/HTTP/redirect_<xx> = PREFIX=<URL prefix>[, FROM=<pattern for URL>, FROMPROT=<incoming protocol>, FOR=<pattern for host name:port>,TO=<new URL prefix>, PROT=<protocol>, HOST=<host>, PORT=<port number/name>]
<xx> must be specified in ascending order from 0.
Optional Parameters
With the optional parameters FROM, FROMPORT and FOR
So your example the parameter would be:-
icm/HTTP/redirect_0 = PREFIX=/,FROM=/ECC/webgui,TO=/sap/bc/gui/sap/its/webgui/!
One point to note is that the URL you have provided has a double slash after the Hostname and Port which might be the root of your problem.
http://saperpecc:8001//sap/bc/gui/sap/its/webgui/!
Another point to note. If you are having problems with redirection via HTTP then HTTPwatch (basic version is freeware) can be used to check how requests are being directed. You can use this for testing your redirects.
Hope this helps.
Michael
Edited by: Michael Mulvey on Nov 11, 2008 5:27 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
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.