Forum Discussion
nitass
Employee
you missed square brackets around class match command.
when HTTP_REQUEST {
if { [HTTP::host] equals "asites.abc.com" } {
if { [class match [HTTP::uri] equals test] } {
HTTP::redirect "http://asites.abc.com[class lookup [HTTP::uri] test]"
}
}
}
nitass
Aug 25, 2014Employee
you may add log command (log local0.) to the irule. example is in the irule i have given above in this thread.