SAP Portal tip of the day: Custom Portal Alias
You must have come across “Display Rules” also known as Master Rules. In the options available to configure a specific rule, you get an option to set a custom portal alias to define type of access to be given for URL with its alias. Now let us see, how to define custom portal alias. You can define if user is accessing portal from a low-bandwidth connection or annonymous access is given or is user allowed to access URL via proxy.
Portal alias is defined in web.xml. So you have to:
For example, after you’ve done with all the above mentioned steps, you’re web.xml should looking something like this:
<servlet> <servlet-name>gateway</servlet-name> <load-on-startup>0</load-on-startup> <init-param> <param-name>NewAlias</param-name> </param-value> </init-param> </servlet>
Parameter-value pair has number of options like annonymous, low-bandwidth or if irj is a part of URL and so on. So according to type of value pair you want, sample parameter-value property should look like:
anonymous=<value>,proxy=<value>,low_bandwidth=<value>, include_in_url=1, include_application_name in_url =1
In the end, your portal URL with custom alias should look like:
http://
With this, you should be ready to use custom portal alias.
Filed Under: Uncategorized


