Forum Discussion
Wil_Schultz_101
Aug 31, 2007Nimbostratus
So, I'm not entirely sure what you are trying to accomplish. Regarding the 'equals /' statement, that will only redirect a 'GET /'. I you are attempting to redirect everything you can change it to 'starts_with /' and that would grab 'GET /dddd' as well. Is that what you are trying to do?
if {[HTTP::uri] starts_with "/"} {
HTTP::redirect "https://mycomp.com.au/wps/portal"
return 0
}