Forum Discussion
Jeff_Eskens_428
Nimbostratus
Apr 30, 2015trying to redirect a url
I am trying to redirect a URL from site.domain.com to site.domain.com/subsite. I have the F5 configured for SSL off-loading so anything that come in is redirected from http to https. When a user go...
Sekhar
Nimbostratus
May 01, 2015Hi Jeff, I think you are trying to redirect based on a uri
when HTTP_REQUEST {
if { [HTTP::uri] == "/" } {
HTTP::redirect "https://[HTTP::host]/newsite"
}
}
Thanks, Sekhar
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