cancel
Showing results for 
Search instead for 
Did you mean: 

Webdispatcher settings with portal

chris_mckay2
Participant
0 Kudos

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.

Accepted Solutions (0)

Answers (3)

Answers (3)

chris_mckay2
Participant
0 Kudos

This is the profile:

  1. Profile generated by sapwebdisp bootstrap

  1. unique instance number

SAPSYSTEM = 0

  1. add default directory settings

DIR_EXECUTABLE = .

DIR_INSTANCE = .

  1. Accessibility of Message Servers

rdisp/mshost = myportal

ms/http_port = 8101

  1. SAP Web Dispatcher Parameter

wdisp/auto_refresh = 120

wdisp/max_servers = 100

wdisp/shm_attach_mode = 6

  1. 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

  1. SAP Web Dispatcher Ports

icm/server_port_0 = PROT=HTTP,PORT=50000

icm/server_port_1 =

  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?

Former Member
0 Kudos

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

chris_mckay2
Participant
0 Kudos

Hi Vijith,

The problem has been resolved. It ended up being a problem with a port opened on our firewall. Once this was opened everything worked correctly.

Thank-you for your assistance.

chris_mckay2
Participant
0 Kudos

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.

Former Member
0 Kudos

Hi,

Can you put up your web dispatcher profile here?

Regards,

Vijith

Former Member
0 Kudos

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