Forum Discussion
dbizzle_20930
Nimbostratus
Oct 01, 2012yet another redirect question
so heres my question. i have a simple irule that will redirect to a new host/uri based on the incoming request. however what i'm discovering is that apparently its not as simple as i had originally t...
What_Lies_Bene1
Cirrostratus
Oct 01, 2012You'd want something like this;
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::host][HTTP::uri]] {
"https://some.host.com/singleuri*" {
HTTP::respond 301 Location "https://some.other.host.com/anotheruri/"
}
}
}
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
