Forum Discussion
Nathaneil0227_2
Nimbostratus
Oct 21, 2016Redirection using iRule
We have a requirement that if user will connect to https://mycompanysite.com it will redirect to https://mycompanysite.com/exampleURI/URI ...
Vijay_E
Cirrus
Oct 21, 2016Try something like this:
when HTTP_REQUEST {
if { ([HTTP::host] eq "mycompanysite.com") and ([HTTP::uri] eq "/") } {
HTTP::respond 301 Location "https://mycompanysite.com/exampleURI/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