Forum Discussion
veato
Nimbostratus
Nov 02, 2016iRule for URL Redirect
I have an on premise SharePoint farm and am migrating to Office 365. As this happens I would like to send requests for the old site to the new. For example the intranet portion of the farm has been m...
Kai_M__48813
Cirrus
Nov 02, 2016you can try setting up an iRule that looks like this:
when HTTP_REQUEST { if { [string tolower [HTTP::uri]] equals "/intranet" } { HTTP::redirect "; } }
Kai_M__48813
Cirrus
Nov 02, 2016maybe you should replace equals with starts_with, in case the uri is changed.
also, are you placing this iRule on the main virtual server, or a redirect one? and if there are multiple iRules on the virtual server, make sure that the order is correct, so that no iRules above this one will do anything with the traffic so it doesnt get any hits.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects