Forum Discussion
ctbrd03_133645
Nimbostratus
Feb 12, 2014HTTP Redirect from a sub-domain to the root of the domain
We are doing a domain migration from a sub-domain to the root of the domain in the same forest. We are moving our sharepoint environment, and want to redirect any requests from the old sub-domain to ...
Arie
Altostratus
Feb 12, 2014when HTTP_REQUEST {
if { [HTTP::host] equals "sharepoint.sub.domain.local" } {
HTTP::respond 302 Location "http://sharepoint.domain.local/pages[HTTP::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