on 03-03-2010 4:01 PM
Hi all,
We have setup a webdispatcher for our enterprise portal. Currently the redirect will only work for me if I specify the host name of the actual portal. I would like to mask this server name with the name of the webdispatcher.
My redirect line looks like this: icm/HTTP/redirect_0 = PREFIX=/, TO=/irj/portal, PROT=HTTP, HOST=myportal.mycompany.ca, PORT=portnumber
Any ideas on what needs to be entered so that the host is not shown in the final URL for the end users?
Thank you.
This is the profile:
Profile generated by sapwebdisp bootstrap
unique instance number
SAPSYSTEM = 0
add default directory settings
DIR_EXECUTABLE = .
DIR_INSTANCE = .
Accessibility of Message Servers
rdisp/mshost = myportal
ms/http_port = 8101
SAP Web Dispatcher Parameter
wdisp/auto_refresh = 120
wdisp/max_servers = 100
wdisp/shm_attach_mode = 6
configuration for large scenario
icm/max_conn = 16384
icm/max_sockets = 16384
icm/req_queue_len = 6000
icm/min_threads = 100
icm/max_threads = 250
mpi/total_size_MB = 500
mpi/max_pipes = 21000
#maximum number of concurrent connections to one server
wdisp/HTTP/max_pooled_con = 2000
wdisp/HTTPS/max_pooled_con = 2000
SAP Web Dispatcher Ports
icm/server_port_0 = PROT=HTTP,PORT=50000
icm/server_port_1 =
SAP Web Dispatcher Web Administration
icm/HTTP/admin_0 = PREFIX=/sap/wdisp/admin,DOCROOT=./admin,AUTHFILE=icmauth.txt
icm/HTTP/redirect_0 = PREFIX=/,TO=/irj/portal ,PROT=HTTP,HOST=myportal.company.ca,PORT=50000
I tried removing the line: ,PROT=HTTP,HOST=myportal.company.ca,PORT=50000 from the redirect, but that dosen't work.
Would I need to specify something in regards to the host in the portal profile as well?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Can you confrm that the message server host and port are correct?
You can find the details in the file dev_ms.
From the http port provided in redirect rule your message server port seems to be 8100.
Once your message server is properly configured you can remove the host from redirect rule.
Regards,
Vijith
Hi Vijith,
Correct I want the redirect to work irrespective of the host, but if I remove the value as you suggest then it will not work at all for me. I get the following error:
500 Dispatching Error
-
Error: -26
Version: 7000
Component: HTTP_ROUTE
Date/Time: Wed Mar 03 11:26:50 2010
Module: http_route.c
Line: 3126
Server: nqwebd__00
Error Tag:
Detail: no valid destination server available for '!ALL' rc=13
If I do specify the host as mentioned then it does redirect, but shows the actual host name, and I would like to mask that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Sorry but I did not understand your question. Assume that you want the redirect to work irrespective of the host then remove the host value from the rule and everything should be ok
Eg:
icm/HTTP/redirect_0 = PREFIX=/, TO=/bc/bsp/demo/default.html
Regards,
Vijith
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.