Entering content frameProcedure documentation icm/HTTP/redirect_<xx> Locate the document in its SAP Library structure

This parameter is used to define a HTTP redirect (301). If the client attempts to access the URL in question, the server sends a redirect. This forces the client to access the new destination instead.

If this parameter is set, it calls the redirect subhandler of the HTTP plugin. The HTTP request is therefore not sent to the backend (ABAP or J2EE server). HTTP Plugin describes the subhandler call sequence.

Value Range

Unit

Default Setting

icm/redirect_<xx> = PREFIX=<URL prefix>, TO=<new URL prefix > [, PROT=<protocol>, HOST=<host>, PORT=<port number/name>]

<xx> must be specified in ascending order from 0.

You can use optional parameters PROT, HOST and PORT to set the destination address to a different protocol, a different host or a different port. You can only specify the port once you have specified a host name.

The default values for PROT, HOST and PORT are values, that are set when an incoming request is received.

Example

icm/redirect_0 = PREFIX=/, TO=/bc/bsp/demo/default.html

Access attempts on "/" are redirected to "/bc/bsp/demo/default.html".

Character string

None

 

 

Leaving content frame