Show TOC

Background documentationicm/HTTP/mod_<xx> Locate this document in the navigation structure

 

With this parameter you can configure Modifications of HTTP Requests in the Web Dispatcher or ICM. You can define rules by which the Web Dispatcher/ICM changes the HTTP request before it forwards it (header field manipulation, URL rewrite, and so on)

Structure

Work area

Internet Communication Manager, SAP Web Dispatcher

Unit

Character string

Default value

icm/HTTP/mod_0 =PREFIX=/ (no action file)

Dynamically changeable

No

Value Range and Syntax

The parameter has the following syntax:

icm/HTTP/mod_<xx> = PREFIX=<URL prefix>[, FILE=<action file>]

The <xx> index is a number without a leading 0. You do not need to use the indexes in ascending order; that is, you can, for example, configure only icm/HTTP/mod_2.

Option FILE

With the optional parameter FILE you can specify the action file with the rules to apply. If only a file name without the full path is specified, the file must be in the working directory of the process.

The action file is a text file with one action (rule) per line. Comment lines begin with a hash sign (#).

You can find an example of an action file in Defining Modification Actions.

SAP Recommendation

To have the same filter rules on all instances, store the file with the filter rules in a global directory and set the parameter in the default profile DEFAULT.PFL.

Example Example

The filter rules are in file icm_filter_rules.txt in directory $(DIR_GLOBAL)/security/data

icm/HTTP/mod_0 = PREFIX=/,FILE=$(DIR_GLOBAL)/security/data/icm_filter_rules.txt

End of the example.

More Information

Note the following documentation associated with this parameter:

Processing HTTP Requests

Generic Profile Parameters with Ending _<xx>