cancel
Showing results for 
Search instead for 
Did you mean: 

how to redirect / to /irj (portal application)

Former Member
0 Kudos

hello experts,

just a simple question, how can we redirect the root (https://<server>:<port>/ to https://<server>:<port>/irj/index.html so that we are redirected to the enterprise portal instead of the SAP J2EE Engine start page?

Kind regards,

Walter

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Walter,

This can be done via IISProxy but you'll need

to install IIS and configure ISAPI filter mapping file.

Please see http://help.sap.com/saphelp_erp2005/helpdata/en/51/64083f56e4d861e10000000a114084/frameset.htm for more details.

Another option is to replace/modify default J2EE page displayed when a user types J2EE server address (https://<server>:<port>) so that a new default page redirects to the portal address (<meta Refresh tag>).

This default J2EE page is located at the following path on NW 04 640 :
sapmnt\<SID>\DVEBMGS00\j2ee\cluster\server0\apps\sap.com\com.sap.engine.docs.examples\servlet_jsp\_default\root\index.html

Regards,

Mike

Message was edited by: Mike Puzankov

Former Member
0 Kudos

Hi Mike,

We already use the SAP webdispatcher so it would not make sense to put in IISProxy.

Changing the default J2EE page at the location you provided works without problems, though! The added benefit of this is that when users connect to a different port (http/https) or don't enter the full portal URL, they are always redirected.

Thanks again for your suggestion!

Walter

Former Member
0 Kudos

Dear Walter,

to divert http://<hostname>.com:50000/irj to http://<hostname>.com:50000, u have change setting of server in Visual Administrator.

Steps

Start Visual Administrator (go.bat or ./go)

Expand Server Node

Expand Service Node

CLick on HTTP Provider

In Right Window there will be text field Named <b>Start Page</b>

by defalut this field is blank

just type <b>/irj</b> in this text field

Try to access EP without /irj (http://<hostname>.com:50000)

it will work. if it doesnt work take restart of your j2ee instance.

Regrads,

Udayveer Singh

SAP Technical Consultant.

Former Member
0 Kudos

if you want you can also change port no : 50000 to default port 80. withn this u can access your EP only with url http://<hostname.com

Former Member
0 Kudos

Hi Udayveer,

I have already implemented Mike Puzankov's solution by changing the default page in the filesys of the java server. This has resolved our issue, without redirects in the HTTP provider. Because we had some issues with redirecting in the loadbalancer (placed before the webdispatcher) we want to keep the setup als plain as possible.

Thanks for your good suggestions!

Kind regards,

Walter

Answers (1)

Answers (1)

Former Member
0 Kudos

Another nice solution is adding the following parameter to the web dispatcher profile:

icm/HTTP/redirect_0 = PREFIX=/, TO=/irj/index.html

Kind Regards,

Tobias