![Radware Alteon Application Manual Download Page 255](http://html.mh-extra.com/html/radware/alteon/alteon_application-manual_781134255.webp)
Alteon Application Switch Operating System Application Guide
Server Load Balancing
Document ID: RDWR-ALOS-V2900_AG1302
255
3. Enter action to access the Rule Action menu, and then enter replace to set the new rule
replace action.
Example
To replace all requests for ".jpeg" files to use ".jpg", use the following configuration:
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.
2. Enter rule, the rule ID number, and then enter the desired element type.
>>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:
>> 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
>>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: statusline
>>statusline Modification http-mod-list Rule 5