cancel
Showing results for 
Search instead for 
Did you mean: 

Customizing portal URL

Former Member
0 Kudos

Hello,

I am trying to customize the URL to our portal, so that "irj" is not included, e.g. http://www.mycomp.com/mypage where "mypage" is a portal alias. Any solution that performs a redirect to an URL including "irj" is not good enough. "irj" should never be displayed in the user's browser.

According to most posts I have found, the only way to do this completely (i.e. so that "irj" is never displayed in the user's browser) is by using a reverse proxy. We are using SAP Web Dispatcher and configured it to rewrite /mypage to /irj/mypage.

The rewrite works but the problem is that the login page sets a cookie (com.sap.engine.security.authentication.original_application_url) with path /irj. Since the browser only sees the URL http://www.mycomp.com/mypage, the cookie is never sent by the browser. This causes the login to fail.

Does anyone know how to solve this? I can think of three approaches but I don't know if any of them is possible to implement:

1) Configure the portal to not include "irj" in the URL.

2) Configure the portal to set path / instead of /irj to the cookie.

3) Configure SAP Web Dispatcher to change the path of the cookie from /irj to / when it is sent in the http reposonse. This is possible with the Apache proxy (http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypassreversecookiepath) but I can't find something similar in SAP Web Dispatcher.

Regards,

Christoffer

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Christoffer,

Please refer to these pages on the Wiki: http://wiki.sdn.sap.com/wiki/display/EP/Change+Portal+URL they cover most of your options I believe.

BRgds,

Simon

Former Member
0 Kudos

To Change the Port:

Switch to the J2EE Visual Administrator

Goto -> Cluster -> Dispatcher -> Services -> HTTP Provider

Choose Ports

Change the port number to 80 for HTTP and 443 for HTTPS (SSL)

Choose Update and save.

Stop and Start the HTTP Provider service.

Result:

http: http://hostname.company.com:50000/irj/portal to http://hostname.company.com

https: https://hostname.company.com:50000/irj/portal to https://hostname.company.com

Former Member
0 Kudos

Hi ,

Remove the irj/portal

 

In Enterprise Portal 7.3X:

 

  1. In 7.3x, this is done via the NetWeaver Administrator: 'http://<host>:<port>/nwa' 
  2. Follow menu path: Configuration > Connectivity > HTTP Provider Configuration
  3. Enter /irj/portal in the default start page property
  4. Click save

Regards

Pravesh

Reward accordingly.

Former Member
0 Kudos

Pravesh,

Doing this only results in a redirect from http://<host>:<port>/ to http://<host>:port>/irj/portal. I don't want a redirect. I don't want "/irj" to ever be displayed in the user's browser.

Regards,

Christoffer

Former Member
0 Kudos

Hi Christoffer,

Have you found a solution? Facing the same issue - want to remove /irj/portal, but redirect is not good enough

Thanks in advance,

Regards, Elena

Former Member
0 Kudos

Please refer the following threads may help.

http://scn.sap.com/thread/32164

http://scn.sap.com/message/5551059

Rgds

Pravseh

Former Member
0 Kudos

Hi,

You can use a proxy server for this.

you will have a normal url for the end users and proxy will re-direct these requests to portalerver.

Regards,

Nagireddy.

Former Member
0 Kudos

Negireddy,

We are using SAP Web Dispatcher as a reverse proxy and we succeeded in rewriting the request URL. The problem is that a cookie set by the portal is set with the path /irj and will therefore not be attached to subsequent requests (since the requests from the browser do not contain "/irj").

Regards,

Christoffer

Former Member
0 Kudos

I should add that we are using NetWeaver Portal 7.30 SPS 07.

/Christoffer