Chapter 3 Commands Specific to the Content Switching Module with SSL

ssl-proxy policy url-rewrite

ssl-proxy policy url-rewrite

Syntax Description

Defaults

To enter the URL rewrite configuration submode, use the ssl-proxy policy url-rewritecommand. In URL rewrite configuration submode, you can define the URL-rewrite content policy that is applied to the payload.

ssl-proxy policy url-rewrite url-rewrite-policy-name

url-rewrite-policy-name

URL rewrite policy name.

 

 

This command has no arguments or keywords.

Command Modes

Command History

Global configuration

Release

Modification

SSL Services Module

Support for this command was introduced on the Catalyst 6500 series

Release 2.1(1)

switches.

 

 

CSM-S release 1.1(1)

This command was introduced.

 

 

Usage Guidelines URL rewrite allows you to rewrite redirection links only.

A URL rewrite policy consists of up to 32 rewrite rules for each SSL proxy service.

Table 3-6lists the commands that are available in proxy-policy configuration submode.

Table 3-6

Proxy-policy Configuration Submode Command Descriptions

 

 

 

default

 

Sets a command to its default settings.

 

 

 

exit

 

Exits from proxy-policy configuration submode.

 

 

 

help

 

Provides a description of the interactive help system.

 

 

[no] url url-string[clearportport-number

Allows you to configure the URL string to be rewritten. Use the no form of

sslport port-number]

this command to remove the policy.

 

 

 

url-string

 

Specifies the host portion of the URL link to be rewritten; it can have a

 

 

maximum of 251 characters. You can use the “*” wildcard only as a prefix

 

 

or a suffix of a hostname in a rewrite rule. For example, you can use the

 

 

hostname in one of the following ways:

 

 

www.cisco.com

 

 

*.cisco.com

 

 

wwwin.cisco.*

 

 

 

 

Catalyst 6500 Series Switch Content Switching Module with SSL Command Reference

 

OL-7029-01

3-63

 

 

 

Page 285
Image 285
Cisco Systems OL-7029-01 manual Ssl-proxy policy url-rewrite url-rewrite-policy-name