Forum Discussion
Mike_Wethington
Nimbostratus
Oct 08, 2007Redirecting HTTPS traffic to HTTP
I need to redirect HTTPS traffic to HTTP and only for a specific user agent using a 301 and preserving the URI. Can anyone help?
David_Homoney
Nimbostratus
Oct 08, 2007when HTTP_REQUEST {
if [HTTP::header "User-Agent"] starts_with "user agent text"
HTTP::redirect http://[getfield [HTTP::host] ":" 1][HTTP::uri]
} else {
pool
}
}
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