Forum Discussion
Sydneysider_895
Nimbostratus
Jun 18, 2010HTTP to HTTPS redirection
Hi There,
Can some please help me write an irule to do the below, redirect a http page to a https page on the LTM
http://blahblah.blah.com.au/LiveStats/login.aspx
to ...
hoolio
Cirrostratus
Jun 18, 2010Here is something you can start with on the HTTP VS:
when HTTP_REQUEST {
if {[string tolower [HTTP::path]] eq "/LiveStats/login.aspx"}{
HTTP::redirect "https://[HTTP::host]/LiveStats/login.aspx"
}
}
Aaron
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