Host-Rewriting - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

With gateway-specific parser limitations enabled, the values specified by the
attachment-byte-count, attribute-count, element-depth, max-message-size, and
max-node-size commands (Multi-Protocol Gateway) are used to evaluate incoming
XML documents.
With gateway-specific parser limitations disabled (the default condition), parser
limitations, if any, are derived from the assigned XML Manager. Use the no
gateway-parser-limits command to disable gateway-specific parser limitations.
Related Commands
attribute-count, element-depth, external-references, max-node-size
Examples
v Enables gateway-specific parser limits for the current Multi-Protocol Gateway.
v Disables gateway-specific parser limitations for the current Multi-Protocol

host-rewriting

Controls host rewriting.
Syntax
host-rewriting {on | off}
Parameters
on
off
Related Commands
urlrewrite-policy, propagate-uri
Guidelines
Some protocols have distinct name-based elements, separate from the URL, to
demultiplex. HTTP uses the Host header for this purposes. If this feature is
enabled the backside server will receive a request reflecting the final route.
Otherwise it will receive a request reflecting the information as it arrived at the
DataPower appliance. Web servers issuing redirects might want to disable this
feature, as they often depend on the host header for the value of their redirect.
Examples
v Disables host rewriting and subsequently enables host rewriting, which restores
# gateway-parser-limits
# attribute-count 512
# element-depth 128
# max-message-size 500000
# max-node-size 50000
#
Gateway. The Multi-Protocol Gateway inherits parser limits, if any, from the
assigned XML Manager.
# no gateway-parser-limits
#
Enables host rewriting.
Disables host rewriting.
the default state.
Chapter 49. Multi-Protocol Gateway configuration mode
445

Advertisement

Table of Contents
loading

Table of Contents