Radware Alteon Application Manual page 249

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

Advertisement

3. Enter action to access the Rule Action menu, and then enter insert to set the new rule insert
action.
>>header Modification http-mod-list Rule 5 # action
>>Current rule action:
>>Enter new rule action [insert|replace|remove]: insert
>>Enter header field to insert:
>>Enter value to insert:
4. For the insert action, you can define a match criteria. If you define a match criteria, the insert is
performed only if the match is met.
Enter the element to be matched for insertion.
>>Element to match can be one of url, header, cookie, filetype, statusline,
>>text, regex, none
>>Enter element to match []:
5. Based on the selected match element, enter the required parameters. For more information,
refer to the Alteon Application Switch Operating System Command Reference.
6. Enter directn to set the rule direction, and then enter the rule direction: request or response.
>>header Modification http-mod-list Rule 5 # directn
>>Enter new rule direction [req:resp] [req]:
Example
To insert the HTTP Header "New-Header" with value of "VALUE" to all client requests for
www.site.com/path/new, use the following configuration:
>> HTTP Modification http_mod Rule 2# cur
Current rule: 2
enabled, name My_list
action insert header
HEADER=New-Header, VALUE=VALUE
MATCH=url, URL=www.site.com, PATH=/path/new
direction request
Configuring HTTP Modification for Cookies
When using cookies for request, the Cookies HTTP header is updated. When using cookies for
responses, the Set-Cookie header is updated.
When creating a rule for a cookie element, the following actions can be defined:
To configure the replace action for cookies, page 250
To configure the remove action for cookies, page 251
To configure the insert action for cookies, page 252
Note:
When both cookie-based pbind is used and HTTP modifications on the same cookie header
are defined, Alteon performs both. This may lead to various application behaviors and should be
done with caution.
Document ID: RDWR-ALOS-V2900_AG1302
Alteon Application Switch Operating System Application Guide
Server Load Balancing
249

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents