Chapter 2 Commands for the Catalyst 6500 Series SSL Services Module

policy url-rewrite

clearport port-number—(Optional) Specifies the port portion of the URL link that is to be rewritten; valid values are from 1 to 65535.

sslport port-number—(Optional) Specifies the port portion of the URL link that is to be written; valid values are from 1 to 65535.

Enter the no form of the command to remove the policy.

Examples

This example shows how to enter the URL rewrite configuration submode for the test1 policy:

ssl-proxy(config)# ssl-pro context s1

ssl-proxy(config-context)#ssl-proxy policy url-rewrite test1

ssl-proxy(config-ctx-url-rewrite-policy#

This example shows how to define the URL rewrite policy for the test1 policy:

ssl-proxy(config)# ssl-pro context s1 ssl-proxy(config-context)# ssl-proxy policy url-rewrite test1

ssl-proxy(config-ctx-url-rewrite-policy# www.cisco.com clearport 80 sslport 443

redirectonly

ssl-proxy(config-ctx-url-rewrite-policy#

This example shows how to delete the URL rewrite policy for the test1 policy:

ssl-proxy(config)# ssl-pro context s1 ssl-proxy(config-context)# ssl-proxy policy url-rewrite test1

ssl-proxy(config-ctx-url-rewrite-policy# no www.cisco.com clearport 80 sslport 443 redirectonly

ssl-proxy(config-ctx-url-rewrite-policy#

Related Commands show ssl-proxy policy

Catalyst 6500 Series Switch SSL Services Module Command Reference

2-50

OL-9105-01

 

 

Page 76
Image 76
Cisco Systems 6500 manual Ssl-proxyconfig-context#ssl-proxy policy url-rewrite test1, Redirectonly