![IBM WebSphere XS40 Скачать руководство пользователя страница 730](http://html.mh-extra.com/html/ibm/websphere-xs40/websphere-xs40_command-reference-manual_607316730.webp)
7.
Followed by a text subpattern that does not contain an ampersand
(
&
) character.
8.
Followed by a text subpattern.
input-replace
Specifies the replacement value for the
Content-Type
header.
normalize
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.
Guidelines
The
content-type
command creates a rewrite rule that rewrites the contents of the
Content-Type
header based on a URL match and adds the URL rewrite rule to the
current URL Rewrite Policy.
Backend servers often identify the character set and document type of documents
they send in the
Content-Type
header that is prefixed to the document.
PCRE documentation is available at the http://www.pcre.org web site.
Examples
v
Adds a
Content-Type
header rewrite rule to a URL Rewrite Policy. If the
candidate URL contain
/web/Server
, the rule replaces the value of the
Content-Type
header with
text/xml
.
# content-type .*/web/Server.* text/xml
#
header-rewrite
Rewrites the contents of an arbitrary header based on a name match.
Syntax
header-rewrite
name expression input-replace
[
normalize
]
Parameters
name
Identifies the name of the header to have its value rewritten. The header
name must be entered exactly as it is defined in the message.
expression
Specifies a PCRE that defines the match condition that triggers the rewrite
rule. A candidate value of the specified header that matches this PCRE
triggers the rule. For example
*.*
matches any value.
input-replace
Specifies the replacement value for the specified header.
normalize
Specifies whether URL strings are normalized. Normalizing a URL
compresses
'.'
and
'..'
and converts backward slashes (
\
) to forward
slashes (
/
).
704
Command Reference
Содержание WebSphere XS40
Страница 1: ...WebSphere DataPower XML Security Gateway XS40 Command Reference Version 3 7 2 ...
Страница 2: ......
Страница 3: ...WebSphere DataPower XML Security Gateway XS40 Command Reference Version 3 7 2 ...
Страница 44: ...18 Command Reference ...
Страница 194: ...168 Command Reference ...
Страница 198: ...172 Command Reference ...
Страница 206: ...180 Command Reference ...
Страница 210: ...184 Command Reference ...
Страница 222: ...196 Command Reference ...
Страница 232: ...206 Command Reference ...
Страница 238: ...212 Command Reference ...
Страница 268: ...242 Command Reference ...
Страница 272: ...246 Command Reference ...
Страница 276: ...250 Command Reference ...
Страница 288: ...262 Command Reference ...
Страница 292: ...266 Command Reference ...
Страница 298: ...272 Command Reference ...
Страница 320: ...294 Command Reference ...
Страница 322: ...296 Command Reference ...
Страница 340: ...314 Command Reference ...
Страница 344: ...318 Command Reference ...
Страница 352: ...326 Command Reference ...
Страница 360: ...334 Command Reference ...
Страница 368: ...342 Command Reference ...
Страница 376: ...350 Command Reference ...
Страница 386: ...360 Command Reference ...
Страница 392: ...366 Command Reference ...
Страница 396: ...370 Command Reference ...
Страница 402: ...376 Command Reference ...
Страница 404: ...378 Command Reference ...
Страница 408: ...382 Command Reference ...
Страница 446: ...420 Command Reference ...
Страница 450: ...424 Command Reference ...
Страница 456: ...430 Command Reference ...
Страница 458: ... message type Extranet Message type configuration mode no message matching TFDef2 432 Command Reference ...
Страница 520: ...494 Command Reference ...
Страница 536: ...510 Command Reference ...
Страница 550: ...524 Command Reference ...
Страница 584: ...558 Command Reference ...
Страница 600: ...574 Command Reference ...
Страница 605: ... timeout 500 Chapter 63 RADIUS configuration mode 579 ...
Страница 606: ...580 Command Reference ...
Страница 638: ...v Allow access by the admin account to all access methods restrict admin off 612 Command Reference ...
Страница 650: ...624 Command Reference ...
Страница 667: ...v Specifies support for SNMP Version 2c the default state version 2c Chapter 72 SNMP Settings configuration mode 641 ...
Страница 668: ...642 Command Reference ...
Страница 704: ...678 Command Reference ...
Страница 714: ...688 Command Reference ...
Страница 726: ...700 Command Reference ...
Страница 734: ...708 Command Reference ...
Страница 752: ...726 Command Reference ...
Страница 756: ...730 Command Reference ...
Страница 804: ...778 Command Reference ...
Страница 880: ...854 Command Reference ...
Страница 892: ...866 Command Reference ...
Страница 912: ...886 Command Reference ...
Страница 918: ...892 Command Reference ...
Страница 940: ...914 Command Reference ...
Страница 946: ...920 Command Reference ...
Страница 974: ...948 Command Reference ...
Страница 1004: ...978 Command Reference ...
Страница 1030: ...1004 Command Reference ...
Страница 1032: ...1006 Command Reference ...
Страница 1038: ...Other company product and service names may be trademarks or service marks of others 1012 Command Reference ...
Страница 1065: ......
Страница 1066: ... Printed in USA ...