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...
Vijay_E
Cirrus
Sep 07, 2016This is a rough template. You may have to play around with the getfield command to achieve your requirements:
when HTTP_REQUEST {
if { ([HTTP::host] eq "devcentral.com") and ([HTTP::uri] starts_with "/groups/Research/") } {
HTTP::respond 301 Location "https://f5.com/devresearch[getfield [HTTP::uri] "/groups/Research" 2]"
}
}
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