Forum Discussion
Ts67p18
Dec 09, 2020Nimbostratus
Request Redirect
i need to redirect the following: https://abc.org/prod/items/ebb81b9e-0e6f-4bd8-af22-bf865212e2cd/1/ to https://cde.edu/ware/lesson/ebb81b9e-0e6f-4bd8-af22-bf865212e2cd/1/ there will be many re...
Dec 09, 2020
Hi Ts67p18,
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] starts_with "/prod/items/" } {
HTTP::redirect "https://cde.edu/ware/lesson[string map -nocase {/prod/items/ /} [HTTP::uri]]"
return
}
}
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