Chapter 4 Advanced Expressions: Evaluating Text 83

VPN and Clientless VPN Expression Prefixes that Return Text

VPN and Clientless VPN

Description

Expression

 

 

 

VPN.CLIENTLESS_HOSTURL.

Results in Boolean TRUE if the host name

HOSTNAME.EQ("hostname")

matches the hostname argument. The comparison

 

is case insensitive.

 

For example, if the host name is www.

 

mycompany.com or www.mycompany.com., the

 

following expression returns TRUE:

 

vpn.clilentless_hosturl. hostname.

 

eq("www.mycompany.com")

 

If the text mode 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_HOSTURL.

Evaluates the server part of the 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.

 

The comparison is case insensitive, and all text

 

operations after this method are case insensitive.

VPN.CLIENTLESS_HOSTURL.PATH

Evaluates a slash- (/) separated list on the path

 

component of the URL.

 

For example, consider the following URL:

 

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

 

html?a=1

 

This prefix selects /a/b/c/mypage.html from the

 

preceding URL.

 

 

Page 97
Image 97
Citrix Systems 9.2 manual Results in Boolean True if the host name, Is case insensitive, Following expression returns True