Alteon Application Switch Operating System Application Guide
Server Load Balancing
266
Document
ID:
RDWR-ALOS-V2900_AG1302
Example
To replace responses that include the text "Copyright 2013" to "All rights reserved", use the
following configuration:
To configure the remove action for the HTTP text element
With this action, the string matching the condition is removed.
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 remove to set the new rule
remove action.
4. Enter directn to set the rule direction, and then enter the desired rule direction.
>>URL Modification rule-list mylist# cur
Current rule-list: mylist enabled
10:
enabled
action replace text
from: TEXT=Copyright 2013
to: TEXT=All rights reserved
direction response
body include
>>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: text
>>text Modification http-mod-list Rule 5
>>text Modification http-mod-list Rule 5 # action
>>Enter rule action [replace:remove]: remove
>>Enter text to remove: test test test
>>text Modification http-mod-list Rule 5 # directn
>>Enter new rule modification direction [req:resp] [req]:
Содержание 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 ...