Forum Discussion
hooleylist
Jan 29, 2010Cirrostratus
Nice work. Debug logging could help you catch something like that. Also, if the action is the same for any switch condition, you can combine them into one case:
when HTTP_REQUEST {
switch [string tolower [HTTP::path]] {
"/login/default-login.aspx" -
"/forms/buy.aspx" -
"/forms/changeform.aspx" -
"/forms/registrationform.aspx" -
"/forms/changepassword.aspx" -
"/forms/renewform.aspx" -
HTTP::redirect "https://www.oursite.org[HTTP::uri]"
}
}
}
Aaron