![Radware Alteon Application Manual Download Page 257](http://html.mh-extra.com/html/radware/alteon/alteon_application-manual_781134257.webp)
Alteon Application Switch Operating System Application Guide
Server Load Balancing
Document ID: RDWR-ALOS-V2900_AG1302
257
Configuring Modification for HTTP URL Elements
The following procedure provides general background and parameter-level explanation for modifying
HTTP URL elements.
To use HTTP content modifications for URL elements
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.
3. Enter directn to set the rule direction, and then enter the desired rule direction:
—
Request—Only client requests are inspected for modification.
—
Response—Only server responses are inspected for modification.
—
Bidirectional—The modification is done on server response and the reverse modification is
done on the subsequent client request. For example, you can remove the complete path
from the response so that the same path is added to the subsequent request.
4. Enter body
to enable URL modification in the body.
By default, only headers are modified (body exclude). To modify both header and body, set to
body include.
5. Enter match to access the Match menu and define the match criteria.
Set the match parameters according to the configured rule direction: request or response. When
the direction is set to bidirectional, set the match parameters to match the server response.
You can set match criteria for the following:
—
Protocol—HTTP or HTTPS. The default value is HTTP.
>>HTTP Modification rule-list http-mod-list#
>>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: URL
>>URL Modification http-mod-list Rule 5
>>URL Modification http-mod-list Rule 5 # directn
>>Enter new rule modification direction [req:resp:bidirectional] [req]:
>>URL Modification http-mod-list Rule 5 # body
>>Current rule body: exclude
>>Enter new rule body [include:exclude] [exclude]: