Forum Discussion
Anush
Nimbostratus
Sep 07, 2016https redirection
Hi Experts,
Trying to figure out how this redirection can be configured.
https://devcentral.com/groups/Research/* should get redirected to ""https://F5.com/devresearch/*
"*" says...
Anush
Nimbostratus
Sep 07, 2016again minor change
when HTTP_REQUEST {
log local0. "Incoming URI = [HTTP::uri]"
if { [string tolower [HTTP::host]] equals "devcentral.com" && [string tolower [HTTP::uri]] starts_with "/groups/Research/" } {
set uri [string map -nocase {"/groups/Research" "/devresearch"} [HTTP::uri]]
log local0. "New URI = $uri"
HTTP::redirect "https://f5.com[http::uri $uri]"
}
}
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