![Radware Alteon Скачать руководство пользователя страница 246](http://html.mh-extra.com/html/radware/alteon/alteon_application-manual_781134246.webp)
Alteon Application Switch Operating System Application Guide
Server Load Balancing
246
Document
ID:
RDWR-ALOS-V2900_AG1302
Configuring HTTP Modification for HTTP Headers
When creating a rule for a HTTP header element, the following actions can be defined:
•
Configuring the Replace Action for HTTP Headers, page 246
•
To configure the remove action for HTTP Headers, page 247
•
To configure the insert action for HTTP headers, page 248
Configuring the Replace Action for HTTP Headers
This action replaces the matched header name and value with the new header name and value
specified. Only the first encountered matching header field of the original string in the message is
replaced. A value match means a complete word within the value of the header.
To configure the replace action for header elements
Note:
The numbers and names in this procedure are examples only.
1. Access HTTP Modification rule list configuration via the Layer 7 menu, enter a rule list ID, and
enable the rule list.
2. Enter rule, the rule ID number, and then enter the desired element type.
3. Enter action to access the Rule Action menu, and then enter replace to set the new rule
replace action.
Note:
To replace only the content of the header field (the value) and not the header field
name, enter the same header field name in new header field prompt.
4. Enter directn to set the rule direction, and then enter the rule direction: request or response.
>>Main# /cfg/slb/layer7/httpmod
>>Enter HTTP Modification rule-list id (alphanumeric): http-mod-list
>>HTTP Modification rule-list http-mod-list# ena
>>HTTP Modification rule-list http-mod-list# rule
>>Enter HTTP Modification rule number (1-128):5
>>Element can be one of: url, header, cookie, filetype, statusline, text
>>Enter element to be modified: header
>>header Modification http-mod-list Rule 5
>>header Modification http-mod-list Rule 5 # action
>>Enter rule action [insert|replace|remove]: replace
>>Enter header field to replace:
>>Enter value to replace or none:
>>Enter new header field or none:
>>Enter new value or none:
Содержание Alteon
Страница 2: ...Alteon Application Switch Operating System Application Guide 2 Document ID RDWR ALOS V2900_AG1302 ...
Страница 42: ...Alteon Application Switch Operating System Application Guide Preface 42 Document ID RDWR ALOS V2900_AG1302 ...
Страница 582: ...Alteon Application Switch Operating System Application Guide High Availability 582 Document ID RDWR ALOS V2900_AG1302 ...