follow-redirects-for

WebSEAL can examine 302 responses and process the redirects internally if they are destined for the current server. This configuration entry controls the requests for which this redirect function is enabled.

Syntax

follow-redirects-for = { pattern | !LRR! | !LOCATION! <pattern> }

Description

The configuration entry is used to determine whether a 302 redirect should be handled internally or sent back to the client. Multiple patterns can be specified by including multiple configuration entries of the same name.

Options

pattern
The requests for which the WebSEAL internal redirect function is enabled.

You can use shell-style pattern matching characters *, ?, \, and [] in the pattern.

!LRR!
Match any request that results in a Local Response Redirect action.
!LOCATION! <pattern>
Match the returned location HTTP header. You can use shell-style pattern matching characters *, ?, \, and [] in the pattern.

Usage

This entry is required if the maximum-followed-redirects entry in the [server] stanza is set to a value other than 0.

Default value

None.

Example


follow-redirects-for = GET /jct/cgi-bin/eai*
follow-redirects-for = !LRR!
follow-redirects-for = !LOCATION! /jct/cgi-bin/eai*