Supported Variables for Referencing AddEdit URL Mapping Entries

4-58 Oracle Fusion Middleware System Administrators Guide for Oracle Content Server – --internetuser-- – --suffix-- These substitution tags are variables that refer to the applicable parameters of a URL. Simple if constructions are also supported. For example, the following script segment performs a test to determine whether a value exists and is not empty: --if myconfigvar--something--endif--

4.4.2 Supported Variables for Referencing

The map portion of the URL mapping entry uses the following standard variables for referencing: ■ The CGI path This is the current CGI path of the Oracle WebLogic Server web server filters configured Oracle Content Server instance. The web server filter is configured to provide both communication and security for this Oracle Content Server instance. A typical example is idcm1idcplg. ■ The suffix parameter The value of the suffix variable --suffix-- is derived from the part of the URL that follows the preliminary mapping prefix and before the question mark ?. Any slashes at the beginning of the suffix are removed before being substituted into this variable. For example, in the following URL, dc is the mapping prefix followed by the suffix. http:myhostname.comdcmydocumentname After removing the slash, mydocumentname is used as the value for the suffix variable that is used as a substitution tag in the map portion of the mapping entry. Also, the suffix variable does not include any CGI parameters. Therefore, in the following URL, mydocumentname is still used as the suffix variables value. http:myhostname.comdcmydocumentname?a=1 To enforce the slash separation between the prefix and suffix, add the slash at the end of your prefix abbreviation. ■ Any plugin variable For example, you could use the construct --internetuser-- to substitute for the user ID of the currently logged-in user. ■ Any CGI parameter

4.4.3 AddEdit URL Mapping Entries

To add or edit URL mapping entries:

1. Select the Administration tray, then click WebUrlMapPlugin.

The WebUrlMaps Screen is displayed. 2. Enter the appropriate values in the Prefix and Map fields to edit the existing mapping entries, or define new entries, or both.

3. Click Update.

Managing System Settings 4-59 The screen refreshes and the Prefix and Map field values are saved. If all of the displayed fields are populated, two additional Prefix and Map field pairs are displayed after the screen is redisplayed.

4.4.4 Mapping Examples