Rewrite (Deprecated) - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

normalize
Guidelines
The decoding (unescape) process replaces URL escape sequences with character
equivalents. For example, /image%20library is decoded as /image library.
PCRE documentation is available at the http://www.pcre.org web site.
Examples
v Adds a post-body rewrite rule to the current URL Rewrite Policy. If the

rewrite (deprecated)

Comments
This command is deprecated.
Specifies whether URL strings are normalized. Normalizing a URL
compresses '.' and '..' and converts backward slashes (\) to forward
slashes (/).
true
(Default) Enables normalization.
false
Disables normalization.
candidate URL is http://mantis:8000/foo/bar/my.cgi?x=y&xsl=style.xsl?/
input.xml, the rule rewrites the body of the HTTP POST to
http://mantis:8000/foo/bar/my.cgi?x=y/input.xml and rewrites the URL to
http://10.10.10.200:909/&xsl=style.xsl.
# post-body *.* (.*)&[Xx][Ss][Ll]=([^&]+)(.*) $1$3
http://10.10.10.200:909/$2
#
Chapter 86. URL Rewrite Policy configuration mode
707

Advertisement

Table of Contents
loading

Table of Contents