Forum Discussion
Ts67p18
Nimbostratus
Dec 17, 2020iRule redirect
The issue is requests arrive like: https://www.lor.edu/lorprod/items/ebb81b9e-0e6f-4bd8-af22-bf865212e2cd/1/ and we redirect to: https://oCCC.edu/ware/lesson/ebb81b9e-0e6f-4bd8-af22-bf865212e2cd/1...
Dec 17, 2020
Hi,
when HTTP_REQUEST {
if { [string tolower [HTTP::path]] starts_with "/lorprod/items/" } {
HTTP::redirect "https://occc.edu/ware/lesson/[getfield [HTTP::path] / 4]"
}
}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
