Jeff_Nguyen_449
Mar 21, 2014Nimbostratus
inline irule redirect
i'm trying to do a irule redirect from one host header to another. User is moving site content from one site to another. But i want to make it inline so that, any folder/file within that path is redirect too. so anything after BMD, folder or file is redirect to that same path, instead of defaulting to BMD. Thanks for looking.
when HTTP_REQUEST { if { [string tolower [HTTP::host]] equals "abc.com" and [string tolower [HTTP::uri]] starts_with "/sites/pocc/bm/bmd"} {
HTTP::redirect "https://xyz.com/sites/pocc/bm/BMD/" }
}