80 Citrix NetScaler Policy Configuration and Reference Guide

VPN and Clientless VPN Expression Prefixes that Return Text

VPN and Clientless VPN

Description

Expression

 

 

 

VPN.CLIENTLESS_BASEURL.

Evaluates the domain name part of the host name.

HOSTNAME.DOMAIN

For example, if the host name is www.

 

mycompany.com or www.mycompany.com:8080,

 

the domain is mycompany.com.

 

This operation returns incorrect results if the host

 

name is an IP address. For information on

 

expressions for IP addresses, see “Advanced

 

Expressions: IP and MAC Addresses,

 

Throughput, VLAN IDs,” on page 149.

 

All text operations after this prefix are case

 

insensitive.

VPN.CLIENTLESS_BASEURL.

Returns a Boolean TRUE if the host name matches

HOSTNAME.EQ("hostname")

hostname.

 

For example, if the host name is www.

 

mycompany.com or www.mycompany.com:8080,

 

the following is true:

 

vpn.clientless_baseurl. hostname.

 

eq("www.mycompany.com")

 

The comparison is case insensitive. If the textmode

 

is URLENCODED, the host name is decoded

 

before comparison. For more information, see

 

“Operations for HTTP, HTML, and XML

 

Encoding and “Safe” Characters,” on page 131.

 

 

VPN.CLIENTLESS_BASEURL.

Evaluates the server part of a host name.

HOSTNAME.SERVER

For example, if the host name is www.

 

mycompany.com or www.mycompany.com:8080,

 

the server is www.mycompany.com.

 

All text operations after this prefix are case

 

insensitive.

VPN.CLIENTLESS_BASEURL.PATH

Evaluates a slash- (/) separated list in the URL

 

path.

 

For example, this prefix selects /a/b/c/mypage.html

 

from the following URL:

 

http://www.mycompany.com/a/b/c/mypage.

 

html?a=1

 

The following expression selects “a” from the

 

preceding URL:

 

http.req.url.path.get(1)

 

For more information on the GET operation, see

 

“Expressions for Extracting Segments of URLs,”

 

on page 129.

 

 

Page 94
Image 94
Citrix Systems 9.2 manual Hostname