Cisco Systems OL-7029-01 Switch User Manual


 
3-64
Catalyst 6500 Series Switch Content Switching Module with SSL Command Reference
OL-7029-01
Chapter 3 Commands Specific to the Content Switching Module with SSL
ssl-proxy policy url-rewrite
Examples This example shows how to enter the URL rewrite configuration submode for the test1 policy:
ssl-proxy (config)# ssl-proxy policy url-rewrite test1
ssl-proxy(config-url-rewrite-policy#
This example shows how to define the URL rewrite policy for the test1 policy:
ssl-proxy (config)# ssl-proxy policy url-rewrite test1
ssl-proxy(config-url-rewrite-policy# www.cisco.com clearport 80 sslport 443 redirectonly
ssl-proxy(config-url-rewrite-policy#
This example shows how to delete the URL rewrite policy for the test1 policy:
ssl-proxy (config)# ssl-proxy policy url-rewrite test1
ssl-proxy(config-url-rewrite-policy# no www.cisco.com clearport 80 sslport 443
redirectonly
ssl-proxy(config-url-rewrite-policy#
Related Commands show ssl-proxy policy
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.
Table 3-6 Proxy-policy Configuration Submode Command Descriptions (continued)