Forum Discussion
joeinbuffalo
Nov 07, 2023Nimbostratus
iRule for migrating to Sharepoint Online
Hello, I'm very new to the F5 platform and creating iRules. I did try searching the forums, and there is a lot of good information (thank you contributors), but can't find a solution to exactly wh...
- Nov 07, 2023
Hi joeinbuffalo,
when HTTP_REQUEST { if { [HTTP::host] eq "myportal.company.com" } { if { [HTTP::uri] eq "/" } { HTTP::redirect "https://sharepointonline.company.com" return } else { HTTP::redirect "https://sharepointonline.company.com/sites[HTTP::uri]" return } } }
Nov 07, 2023
Hi joeinbuffalo,
when HTTP_REQUEST {
if { [HTTP::host] eq "myportal.company.com" } {
if { [HTTP::uri] eq "/" } {
HTTP::redirect "https://sharepointonline.company.com"
return
}
else {
HTTP::redirect "https://sharepointonline.company.com/sites[HTTP::uri]"
return
}
}
}
- joeinbuffaloNov 07, 2023Nimbostratus
Hello Enes_Afsin_Al,
This worked perfectly! I truly appreciate your time and expertise in assisting me.
Thank you!
Joe
- LiefZimmermanNov 08, 2023Admin
Right out of the gate you got the word direct from one of our MVPs! Great well-formed question. Quick easy answer.
Nice.
Thanks Enes_Afsin_AlWelcome to the DevCentral community joeinbuffalo!
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