There is my irule config as below :
when HTTP_REQUEST {
switch [HTTP::query] {
"*NetTest0*" {
HTTP::respond 200 content "NetTest0()"
}
"*NetTest1*" {
HTTP::respond 200 content "NetTest1()"
}
"*NetTest2*" {
HTTP::respond 200 content "NetTest2()"
}
"*NetTest3*" {
HTTP::respond 200 content "NetTest3()"
}
}}
Is there any method can get uri as a variable, and replace NetTest0 to NetTest0()?