Defining URL Aliaseshtml
A URL alias is the part of the portal URL after the section that specifies the portal J2EE application ( irj ), which by default ishttp://<server>:<port>/irj .ios
This section describes how to define custom URL aliases in the URL Alias Manager for your own portal usage scenarios. This is the recommended method for defining URL aliases. However, you can also define URL aliases in the web.xml file.web
Defining URL Aliasesapp
A new URL alias is added to the URL Aliases list.jsp
The URL alias name must be unique.ide
Noteui
You can remove a custom property that is no longer needed by choosing Remove property next to the relevant custom property.this
The properties of the new URL alias are updated in the URL Aliases list.url
A URL alias is the part of the portal URL after the section that specifies the portal J2EE application ( irj ), which by default ishttp://<server>:<port>/irj .spa
This section describes how to define URL aliases in the web.xml file for your own portal usage scenarios. However, the preferred way to define URL aliases is using the URL Alias Manager. For more information, see Defining URL Aliases .
The following keys are available:
Key |
Description |
anonymous |
Indicates whether anonymous user access is enabled |
low_bandwidth |
Indicates whether users are accessing the portal via low-bandwidth connections |
proxy |
Indicates whether users can access the portal via a proxy server |
include_in_url |
Indicates whether the alias is part of the URL returned to the client |
include_application_name_in_url |
Indicates whether the portal application name ( irj ) is part of the URL returned to the client |
The following is a sample parameter value:
anonymous=<value>,proxy=<value>,low_bandwidth=<value>, include_in_url=1, include_application_name in_url =1
Make a copy of the .ear file.
The following shows the XML that is added to create a new URL alias called myAlias :
<servlet>
<servlet-name>gateway</servlet-name>
<servlet-class>com.sap.portal.navigation.Gateway</servlet-class>
<load-on-startup>0</load-on-startup>
.
.
.
<init-param>
<param-name>myAlias</param-name>
<param-value>anonymous=0,proxy=0,low_bandwidth=0,include_in_url=1,include_application_name_in_url=1
</param-value>
</init-param>
.
.
.
</servlet>