Forum Discussion
Hannes_Rapp
Jan 08, 2017Nimbostratus
Many ways to solve this. If you do not intend to write your own iRules in the long term, look into LTM Local Traffic policies (no TCL coding required). In case of an iRule solution, here's how I'd approach the problem
when HTTP_REQUEST {
switch [HTTP::host][HTTP::path] {
"xyz.com/" -
"xyz.com/index.jsp" {
do not interferre
return
}
default {
issue a temp 302 redirect
HTTP::respond 302 Location "http://xyz.com/index.jsp"
}
}
}