Appendix A CSG2 Command Reference

match url

*.movies_drama.com/*.mpeg *.clips_comedy.com/*.mpeg *.clips_action.com/*.mpeg *.clips_drama.com/*.mpeg

can be combined into the following single pattern:

*.(moviesclips)*?*(comedyactiondrama).com/*.mpeg

Do not forget that the entire pattern, including wildcards and UNIX string-matching special characters, cannot exceed 128 characters.

You can specify up to 8192 match patterns.

The following table shows and describes the special characters that you can use in the pattern argument in URL match patterns.

Convention

Description

*

Zero or more characters.

 

 

+

Zero or more repeated instances of the token preceding the +.

 

 

?

Zero or one character.

 

 

\character

Escaped character.

 

Examples:

 

\?

Match on a question mark (\<ctrl-v>?)

 

\+

Match on a plus sign

 

\*

Match on an asterisk

 

\a

Alert (ASCII 7)

 

\b

Backspace (ASCII 8)

 

\f

Form-feed (ASCII 12)

 

\n

New line (ASCII 10)

 

\r

Carriage return (ASCII 13)

 

\t

Tab (ASCII 9)

 

\v

Vertical tab (ASCC 11)

 

\0

Null (ASCII 0)

 

\\

Back slash

 

 

Bracketed range [0-9]

Matching any single character from the range.

 

 

A leading ^ in a range

Do not match any in the range. All other characters represent themselves.

 

 

.\x##

Any ASCII character as specified in two-digit hex notation.

 

For example, \x3f yields a ? for a one-character wild card match.

 

 

 

For WAP, the CSG2 supports only URL maps. Header maps and method maps are not supported.

 

Cisco Content Services Gateway - 2nd Generation Release 2.0 Installation and Configuration Guide

A-176

OL-15491-01

Page 176
Image 176
Cisco Systems OL-15491-01 appendix Convention Description, 176