7-49
User
Guide

for

the

Cisco

Application

Networking

Manager

5.2
OL-26572-01
Chapter
7






Configuring

Virtual

Servers
Configuring
Virtual

Servers
When
configuring

HTTP

compression,

we

recommend

that

you

exclude

the

following

MIME

types

from
HTTP
compression:

“.*gif”,

“.*css”,

“.*js”,

“.*class”,

“.*jar”,

“.*cab”,

“.*txt”,

“.*ps”,

“.*vbs”,

“.*xsl”,
“.*xml”,
“.*pdf”,

“.

*swf”,


“.*jpg”,

“.*jpeg”,

“.

*jpe”,

or


.*png”.
When
you

enable

HTTP

compression,

the

ACE

compresses

the

packets

using

the

following

default
compression
parameter

values:


Mime
type—All

text

formats

(text/*).


Minimum
size—512
bytes.


User
agent—None.
Step
12
In
the

SSL

Initiation

field,

choose

an
existing
service

or

choose
*New*
to

create

a

new

service,

and

do
one
of

t

he

following:


If
you

chose

an

existing

SSL

service,

you

can
view,

modify,

or

duplicate

the

existing

configuration.
See
the

“Shared

Objects

and

Virtual

Servers”

section

on

page

7-9

for

more

information

about
modifying
shared

objects.


If
you

chose
*New*,
configure

the

service

using

the

information

in
Ta
b

l

e
7-5
.
For

more

information
about
SSL,

see

the

“Configuring

SSL”

section

on

page

11-1 .
Step
13
In
the
Insert

HTTP

Headers

field,

enter

the

name

of
the
HTTP

header

and

the

value

to
be
matched

using
the
header_name=header_value

format

where:


header_name
represents

the

name

of

the

HTTP

header

to

insert
in

the

client

HTTP

request.

Valid
entries
are

unquoted

text

strings

with

no

spaces

and

a

maximum

of

64

alphanumeric

characters.

You
can
specify

predefined

header

or

any

custom

header

name

provided

that

it

does

not

exceed

the
maximum
length

limit.


header_value
represents
the

expression

string
to
compare
against

the

value

in

the

specified

field

in
the
HTTP

header.

Valid

entries

are

text

strings

with

a

maximum

of

255

alphanumeric

characters.

The
ACE
supports

regular

expressions

for

matching.

Header

expressions

allow

spaces,

provided

that

the
spaces
are

escaped

or

quoted.

All

headers

in

the

header

map

must

be

matched.

Ta

b

l

e


14-33

lists

the
supported
characters

that

you

can

use

in

regular

expressions.
For
example,

you

mi

ght

enter

Host=www.cisco.com.
Step
14
Do
one

of

the

following:


Click
OK
to

save

your

entries

and

to

return

to

the

Rule
Match
table.


Click
Cancel
to

exit

this

procedure

without
saving
your
entries

and

to

return

to

the

Rule

Match

table.
Step
15
If
you

ar

e

adding

Rul

e
Match
entries
for

a

new

virtual

ser

ver
and
you
want

t

o
modify
the

sequence

of


rules
in

the

L7

Load

Balancing

section

of

the

Virtual

Server

configuration

page,

cl

ick

Up

or

Down

to


change
the

order

of

the

entries

in

the

Rule

Match

table.
Note
The
Up

and

Down

buttons

are

not

available

for

an

existing

virtual

server,

only

for

a

new

virtual
server.
To

reorder

the

entries

in

the

Rule

Match

table

for

an

existing

virtual

server,

go

to

Config
>
Expert

>

Policy

Maps

and

choose

the

Layer

7

load

balancing

policy

map,

delete

the

rule

entry
that
you

want

to

reorder,

and

then

add

it

again

by

using

the

Insert

Before

option

to

put

it

in

the
correct
order.

See

the

“Configuring

Rules

and

Actions

for

Policy

Maps”

section

on

page

14-34
for
details.
Step
16
Do
one

of

the

following:


Click
Deploy
Now

to

deploy
this

configuration

on

t

he
ACE
and

save

your

entries

t

o

the
running-configuration
and

startup-configuration

files.


Click
Cancel
to
exit

this

procedure

without
saving
your

entries.