Alteon Application Switch Operating System Application Guide
Server Load Balancing
Document ID: RDWR-ALOS-V2900_AG1302
263
3. One rule is required. In this example, Rule 20 is added:
4. It is required to modify URLs in the body of the response, so set the body to include
5. Set the match criteria:
6. Set the required action.
7. Enable the rule and the rule list.
>>URL Modification rule-list move-site2#
>>Enter HTTP Modification rule number (1-128): 20
>>Element can be one of: url, header, cookie, filetype, statusline, text
>>Enter element to be modified: URL
>>URL Modification move-site2 Rule 20#
>>URL Modification move-site2 Rule 20#body
Current rule body: exclude
Enter new rule body [include|exclude] [exclude]:include
>>URL Modification move-site2 Rule 20#
>>URL Modification move-site2 Rule 20#match
>>URL Match#host
Current host match configuration:
Enter host match-type [sufx|prefx|eq|incl|any] [any]:eq
Enter host to match: www.site2.com
>>URL Modification move-site2 Rule 20#action
>>URL Match#host
Current host action configuration: none
Enter host action-type [insert|replace|remove|none] [none]: replace
Enter new path to replace the matched section: www.site1.com
>>URL Match#path
Current path action configuration: none
Enter path action-type [insert|replace|remove|none] [none]: insert
Enter path to insert: site2/
Insert the specified path before or after the matched section? [b|a]: b
>>URL Modification move-site2 Rule 20#ena
>>URL Modification move-site2 Rule 20#..
>> HTTP Modification rule-list force-https#ena
Содержание Alteon
Страница 2: ...Alteon Application Switch Operating System Application Guide 2 Document ID RDWR ALOS V2900_AG1302 ...
Страница 42: ...Alteon Application Switch Operating System Application Guide Preface 42 Document ID RDWR ALOS V2900_AG1302 ...
Страница 582: ...Alteon Application Switch Operating System Application Guide High Availability 582 Document ID RDWR ALOS V2900_AG1302 ...