Forum Discussion
nitass_89166
Noctilucent
e.g.
when HTTP_REQUEST {
if { [HTTP::host] equals "asites.abc.com" } {
if { [class match [HTTP::uri] starts_with test] } {
HTTP::redirect "http://asites.abc.com[class match -value [HTTP::uri] starts_with test]"
}
}
}
if it still does not work, try to add logging and see what you get.
ShakN_167332
Aug 26, 2014Nimbostratus
i added the logging in irule but how to check the logs where the client ip is hitting the irule and redirection is taking place. PLease let me know the cmds to troubleshoot.