Apcf syntax – Cisco ASA 5505 User Manual

Page 1671

Advertising
background image

74-85

Cisco ASA 5500 Series Configuration Guide using the CLI

Chapter 74 Configuring Clientless SSL VPN

Optimizing Clientless SSL VPN Performance

APCF Syntax

APCF profiles use XML format, and sed script syntax, with the XML tags in

Table 74-7

.

Guidelines

Misuse of an APCF profile can result in reduced performance and undesired rendering of content. In
most cases, Cisco Engineering supplies APCF profiles to solve specific application rendering issues.

Table 74-7

APCF XML Tags

Tag

Use

<APCF>...</APCF>

The mandatory root element that opens any APCF XML
file.

<version>1.0</version>

The mandatory tag that specifies the APCF
implementation version. Currently the only version is
1.0.

<application>...</application>

The mandatory tag that wraps the body of the XML
description.

<id> text </id>

The mandatory tag that describes this particular APCF
functionality.

<apcf-entities>...</apcf-entities>

The mandatory tag that wraps a single or multiple APCF
entities.

<js-object>…</js-object>

<html-object>…</html-object>

<process-request-header>...</process-request-header>

<process-response-header>...</process-response-header>

<preprocess-response-body>...</preprocess-response-body>

<postprocess-response-body>...</postprocess-response-body>

One of these tags specifies type of content or the stage at
which the APCF processing should take place.

<conditions>… </conditions>

A child element of the pre/post-process tags that specifies
criteria for processing such as:

http-version (such as 1.1, 1.0, 0.9)

http-method (get, put, post, webdav)

http-scheme (http, https, other)

server-regexp regular expression containing ("a".."z" |
"A".."Z" | "0".."9" | ".-_*[]?"))

server-fnmatch (regular expression containing ("a".."z" |
"A".."Z" | "0".."9" | ".-_*[]?+()\{},")),

user-agent-regexp

user-agent-fnmatch

request-uri-regexp

request-uri-fnmatch

If more than one of condition tags is present, the ASA
performs a logical AND for all tags.

Advertising