on 04-11-2012 11:34 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Remove the irj/portal
In Enterprise Portal 7.3X:
Regards
Pravesh
Reward accordingly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please refer the following threads may help.
http://scn.sap.com/thread/32164
http://scn.sap.com/message/5551059
Rgds
Pravseh
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
I should add that we are using NetWeaver Portal 7.30 SPS 07.
/Christoffer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.