Configuring Regular Expressions - Nortel Web OS Switch Software Application Manual

Switch software
Table of Contents

Advertisement

n
Size of the regular expression structure after compilation cannot exceed 43 bytes for load
balancing strings and 23 bytes for Web Cache Redirection. The size of regular expression
after compilation varies, based on regular expression characters used in the user input
string.
n
Use "/" at the beginning of the regular expression. Otherwise a regular expression will
have "*" prefixed to it automatically. For example, "html/*\.htm" appears as
"*html/*\.htm".
n
Incorrectly or ambiguously formatted regular expressions are rejected instantly. For exam-
ple:
o
o
o

Configuring Regular Expressions

The regular expression feature is applicable to both URL SLB path strings and URL SLB redi-
rected expression strings. Configure regular expressions at the following CLI prompts:
/cfg/slb/layer7/slb/add
or
/cfg/slb/layer7/slb/redir/add
As a result, both HTTP SLB and WCR can use regular expression as the resource.
N
OTE
load balance the incoming packets.
212777-A, February 2002
where a "+" or "?" follows a special character like the "*"
A single "+" or "?" sign
Unbalanced brackets and parenthesis
The more complex the structure of the string, the longer it will take for the server to
Web OS 10.0 Application Guide
Chapter 15: Content Intelligent Switching
n
413

Advertisement

Table of Contents
loading

This manual is also suitable for:

Web os 10.0

Table of Contents