Forum Discussion
jato_40959
Nimbostratus
Jun 02, 2010Redirect 301
I have implemented this irule in my system:
when HTTP_REQUEST {
HTTP::respond 301 Location https://[getfield [HTTP::host] ":" 1][HTTP::uri]
}
The irule isn't working, ...
jato_40959
Nimbostratus
Jun 14, 2010I have two irules:
1. for WAP traffic:
when HTTP_REQUEST {
if { [HTTP::host] equals "www.mydomain.es" } {
switch -glob [string tolower [HTTP::header User-Agent]] {
"*midp*" -
"*cldc*" {
HTTP::redirect "https://wap.mydomain.es" }
}
}
}
2. for 301:
when HTTP_REQUEST {
HTTP::respond 301 Location https://[getfield [HTTP::host] ":" 1][HTTP::uri]
}
Do you think this is the problem?
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