Alteon Application Switch Operating System Application Guide
Server Load Balancing
Document ID: RDWR-ALOS-V2900_AG1302
261
Example
2: Force links to sensitive information to use HTTPS
A Web site includes sensitive information. However, the links in the Web site were not designed to
use HTTPS for the sensitive information, and so some links refer to HTTP.
Alteon needs to modify URLs that appear in the response, where the path includes "/sensitive/", to
use HTTPS rather than HTTP.
Note:
The numbers and names in this procedure are examples only.
1. Configure the required real servers, group, virtual server and service. The service is HTTP or
HTTPS, according to the site. Associate an HTTP Modification Policy to achieve the HTTPS links.
2. Create the HTTP modifications rule list:
3. One rule is required. In this example, Rule 10 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:
>> HTTP Load Balancing Menu # httpmod
Current HTTP modifications rule-list:
Enter new HTTP modifications rule-list or none: force-https
For HTTP Modification rule-list configuration use /cfg/slb/layer7/httpmod
>> Main # /cfg/slb/layer7/httpmod
Enter HTTP Modification rule-list id (alphanumeric): force-https
>>URL Modification rule-list force-https#
>>Enter HTTP Modification rule number (1-128): 10
>>Element can be one of: url, header, cookie, filetype, statusline, text
>>Enter element to be modified: URL
>>URL Modification force-https Rule 10#
>>URL Modification force-https Rule 10#body
Current rule body: exclude
Enter new rule body [include|exclude] [exclude]:include
>>URL Modification force-https Rule 10#
>>URL Modification force-https Rule 10#match
>>URL Match#protocol http
>>URL Match#path
Current path match configuration:
Enter path match-type [sufx|prefx|eq|incl|any] [any]:incl
Enter path to match:/sensitive/
Содержание 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 ...