Forum Discussion
Ravi_Rajan_7549
Nimbostratus
Apr 08, 2008HTTP to HTTPS redirect
Hi,
I want to have an irule to redirect all incoming traffic from http to https, host and the URI remaining the same.
I browsed through the forum and could not find the above. Ple...
Ravi_Rajan_7549
Nimbostratus
May 02, 2008Thanks,
I did it slightly the other way using findstr as below -
when HTTP_REQUEST {
if {[matchclass [findstr [ string tolower [HTTP::uri]] / 1 /] contains $::cls1apps]} {
HTTP::redirect http://172.25.103.252[HTTP::uri] }
}
Thanks,
Ravi
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