Forum Discussion
Stanislas_Piro2
Nov 05, 2015Cumulonimbus
some changes of irule provided by R Marc...
the - allow to do same action for multiple paths.
when HTTP_REQUEST {
switch -glob [HTTP::path] {
"/clocks.asp" -
"/mysite.aspx" -
"/images/*" {
pool www-mysite_pool
}
default {
HTTP::respond 301 location "http://www.myothersite/mysite.aspx"
}
}
}