To Configure The Remove Action For Cookies - Radware Alteon Application Manual

Application switch operating system
Hide thumbs Also See for Alteon:
Table of Contents

Advertisement

>>HTTP Modification rule-list mylist# cur
Current rule-list: mylist enabled
10:
enabled
action replace cookie
from: KEY=User-Type, VALUE=Gold
to: KEY=User-Type, VALUE=Premium
direction request

To configure the remove action for cookies

With this action, the entire key=value pair is removed from the header. The value specified is used
to decide whether the header should be removed. When the direction is set to request, the cookie
header is modified. When the direction is set to response, the Set-Cookie header is modified.
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.
>>Main# /cfg/slb/layer7/httpmod
>>Enter HTTP Modification rule-list id (alphanumeric): http-mod-list
>>HTTP Modification rule-list http-mod-list# ena
2. Enter rule, the rule ID number, and then enter the desired element type.
>>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: cookie
>>cookie Modification http-mod-list Rule 5
3. Enter action to access the Rule Action menu, and then enter remove to set the new rule
remove action.
>>cookie Modification http-mod-list Rule 5 # action
>>Current rule action:
>>Enter new rule action [insert|replace|remove]: remove
>>Enter cookie key to remove:
>>Enter cookie value to remove:
4. Enter directn to set the rule direction, and then enter the rule direction: request or response.
>>cookie Modification http-mod-list Rule 5 # directn
>>Enter new rule direction [req:resp] [req]:
Document ID: RDWR-ALOS-V2900_AG1302
Alteon Application Switch Operating System Application Guide
Server Load Balancing
251

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents