Forum Discussion
Phil_Carroll_13
Nimbostratus
Aug 14, 2013Conditional redirect based on passed parameters...
Hello All,
I need help with creating a rule that would do the following...
If the http request is www.domain.com or domain.com then it needs redirected to www.redirect.domain\page
If...
Andres_4712
Aug 14, 2013Historic F5 Account
Taking your goal description literally (redirect if URI does not containg strings), irule would be very simple:
when HTTP_REQUEST {
if { [HTTP::uri] eq "/"}{
HTTP::redirect http://www.redirect.domain\page
}
}
I would point that the real URL whould be:
http://www.redirect.domain/pageHelp 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