Forum Discussion
Peter_Bevington
Nimbostratus
Aug 21, 2013Sharepoint Site Redirections using HTTPClass or iRules
I have a client who is moving their sharepoint sites on an individual basis along the lines of
Source http://host1/site1/library1/location1 http://host1/site1/library2/location2 http://host1/sit...
Kevin_Stewart
Employee
Aug 21, 2013Just my humble opinion, but managing that list of hosts/URIs and associated redirects is by far most easily done with a data group and a very simple iRule. Example:
when HTTP_REQUEST {
if { [class match [string tolower [HTTP::host][HTTP::uri]] starts_with my_sp_datagroup] } {
HTTP::redirect "https://[class match -value [string tolower [HTTP::host][HTTP::uri]] starts_with my_sp_datagroup]"
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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