14-87
User
Guide

for

the

Cisco

Application

Networking

Manager

5.2
OL-26572-01
Chapter
14






Configuring

Traffic

Policies
Configuring
Actions

Lists
Direction
HTTP
header

modify

action

that

the

ACE

is

to

take

with

respect

to

the

selected

operator

(Insert,

Delete,
or
Rewrite).

Choices

are

as

follows:
Insert:


Both—Specifies
that

the

ACE

insert

an
HTTP
header

in

both

HTTP

request
packets
and

response
packets.


Request—Specifies
that

the

ACE

insert
an
HTTP

header

only

in

HTTP

request
packets
from
clients.


Response—Specifies
that

the

ACE

insert
an
HTTP

header

only

in

HTTP

response

packets
from
servers.
Delete:


Both—Specifies
that

the

ACE

delete

the

header

in

both

HTTP

request

packets

and
response
packets.


Request—Specifies
that

the

ACE

delete

the
header
only

in

HTTP

request

packets

from

clients.


Response—Specifies
that

the

ACE

delete

the

header

only

in

HTTP

response

packets

from

servers.
Rewrite:


Both—Specifies
that

the

ACE

rewrite

an

HTTP

header

string
in
both

HTTP

request

packets

and
response
packets.


Request—Specifies
that

the

ACE

rewrite

an

HTTP

header

string

only

in

HTTP

request

packets
from
clients.


Response—Specifies
that
the

ACE

rewrite

an

HTTP

header

string

only

in

HTTP

response

packets
from
servers.
Header
Name
Identifier
of


an

HTTP

header.

Enter

an

unquoted

t

ext

string

with

a

maximum

of

255

al

phanumeric
characters.
Header
Value
Value
of


the

HTTP

header

that

you

want

t

o

insert

or

replace

i

n

request

packets,

response

packets,

or
both.
Enter

an

unquoted

t

ext

string

with

no

spaces

and

a

ma

ximum

of


255

alphanumeric

characters.
You
can

also

use

the

following

dynamic

replacement

strings:


%is—Inserts
the
source
IP
address

in

the

HTTP

header


%id—Inserts
the

destination
IP
address

in

the

HTTP

header


%ps—Inserts
the

source

port

in

the

HTTP

header


%pd—Inserts
the

destination
port
in
the
HTTP
header
The
ACE

supports

regular

expressions

for

matching.

To

include

spaces

in

the

string,

enclose

the

entire
string
i

n

quotes.

All

headers

in

t

he

header

map

must

be

matched.

See

Ta

b

l

e


14-33

for

a

list

of

the
supported
characters

that

you

can

use

in

regular

expressions.
Replace
Pattern
string

that

you

want

to

substitute

for

the

header

value

regular

expression.

For

dynamic
replacement
of

the

first

and

second

parenthesized

expressions

from

the

header

value,

use

%1

and

%2,
respectively.
Table
14-35
Header
Action

Configuration

Window

Fields

(continued)
Header
Action

Field
Description
/

Action