To Configure The Replace Action For The Http Status Line - Radware Alteon Application Manual

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 replace to set the new rule
replace action.
>>filetype Modification http-mod-list Rule 5 # action
>>Current rule action:
>>filetype supports only action replace
>>Enter file type to replace:
>>Enter new file type:
Example
To replace all requests for ".jpeg" files to use ".jpg", use the following configuration:
>> HTTP Modification http-mod-list Rule 2# cur
Current rule: 2
enabled, name My_list
action replace filetype
from: FILETYPE=jpeg
to: FILETYPE=jpg
direction request
Configuring HTTP Modification for HTTP Status Line
The status line is a mandatory part of an HTTP response. A single status line must appear in every
HTTP response. Therefore, the status line cannot be inserted or removed. The only supported
modification for status line is replace.
For elements of the status line type, the direction is set to response and cannot be changed.
When creating a rule for a HTTP status line element, only the replace action can be defined.

To configure the replace action for the HTTP status line

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: statusline
>>statusline Modification http-mod-list Rule 5
Document ID: RDWR-ALOS-V2900_AG1302
Alteon Application Switch Operating System Application Guide
Server Load Balancing
255

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents