Configuration file updates
You can use the [http-transformations] stanza to define HTTP transformation resources.
Use the resource-name configuration entry to define HTTP transformation resources. The configuration entries must be in the following format:
resource-name = resource-file
where:
- resource-name
- The name of the HTTP transformation resource.
- resource-file
- The name of the resource file.
For more information, see [http-transformations] stanza.
You can use the [http-transformations: <resource-name> ]stanza to house configuration that is specific to a particular HTTP transformation resource. The <resource-name> component of the stanza name must be changed to the actual name of the resource.
cred-attr-name = name
where:
- name
- Name of the credential attribute.
request-match = {request|preazn|postazn|postauthn|response}:<request-line>Matching on resource URIs is case sensitive. To have a transformation do an insensitive match, in the [http-transformations: <resource-name> ] stanza, set the property match-case-insensitive to true.
The first component of the configuration entry determines where in the processing of the request the rule will be triggered. The second component
contains the request line to be matched. A case-sensitive comparison is made between the
configuration entry and the HTTP request line. The wildcard characters *
and ?
can be
used in the comparison. You can specify multiple entries if needed.
You also have the option of matching a request by using a host header. This
option is useful when you need to selectively enable this functionality for a particular virtual
host junction. To selectively match an entry based on a particular host header, prepend the
<request-line> with the string
[<host>].
For more information, see [http-transformations] stanza.