Forum Discussion
hooleylist
Dec 13, 2010Cirrostratus
That would probably work, but this is a bit more efficient:
when HTTP_REQUEST_DATA {
switch -glob [URI::decode [URI::query "?[HTTP::payload]" Relay]] {
"*/test2/*" {
HTTP::redirect "https://test.com/test2/login.aspx"
}
"*/test3/*" {
HTTP::redirect "https://test.com/test3/login.aspx"
}
}
}
Aaron