
Alteon Application Switch Operating System Application Guide
Server Load Balancing
248
Document
ID:
RDWR-ALOS-V2900_AG1302
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 rule direction: request or response.
Example
To remove HTTP Header "Test-Header" from all server responses, use the following configuration:
If you leave the value empty, the complete header is removed, regardless of the value of the header.
If you set the cookie value, the cookie is only removed when both the key and value match.
To configure the insert action for HTTP headers
This action inserts the header field and value at the beginning of the header area. A value match
means a complete word within the value of the header.
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.
>>header Modification http-mod-list Rule 5 # action
>>Current rule action:
>>Enter new rule action [insert|replace|remove]: remove
>>Enter header field to remove:
>>Enter value to remove:
>>header Modification http-mod-list Rule 5 # directn
>>Enter new rule direction [req:resp] [req]:
>> HTTP Modification http_mod Rule 2# cur
Current rule: 2
enabled, name My_list
action remove header
HEADER=Test_Header
direction request
>>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