總網頁檢視次數

星期三, 3月 03, 2010

F5 Path + URL operation

[URI::query $uri]
Return query part of the URI

[URI::query $uri PARAMETER_NAME ]
Return the Parameter value of Parameter name
i.e. set $uri = "/path/abc.aspx?a=1&b=2"
[URI::query $uri a]
it will return 1.

[HTTP::path ]
Return path part of the URI

F5 Switch operator

Switch SELECTOR {

MATCH1 { ACTION1 }
MATCH2 { ACTION2 }

default { ACTION3_for_not_match }

}