Enabling and disabling URL mapping
URL mapping is enabled by default. You can disable it. To disable URL mapping, you modify the property wps.mappingurl.enabled in the portal WP Configuration Service.
About this task
To disable URL mapping, set the property value to false. To enable URL mapping, set the value to true. If you switch between the two states regularly, setting this property is sufficient.
If you install the portal with the URL mapping URL functionality disabled, it is strongly recommended to still define the portal URL identifier, if a change to enabled URL mapping functionality can become possible in the future. This is recommended, as all browser bookmarks to dynamically created portal URLs will break when you change the identifier.
If you decide never to use URL mapping at all,
you should additionally edit the portal file web.xml in
order to obtain maximum performance. Comment out the following lines:
<filter>
<filter-name>URL Analyzer</filter-name>
<filter-class>com.ibm.wps.mappingurl.impl.URLAnalyzer</filter-class>
</filter>
<filter-mapping>
<filter-name>URL Analyzer</filter-name>
<url-pattern>/portal/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>URL Analyzer</filter-name>
<url-pattern>/myportal/*</url-pattern>
</filter-mapping>