Forum Discussion
lori_54451
Nimbostratus
Nov 12, 2007Irule http/https help
i have just inherited a website that has not SSL encryption. They heard how we do our encryption via BIGIP and they asked me if i could just redirect all of thier http requests to https. Programming ...
Brian_69413
Nimbostratus
Nov 12, 2007You were close...
when HTTP_REQUEST {
if { ([HTTP::uri] eq "/") and ([HTTP::host] eq "www.lifecycle3d.com") } {
HTTP::redirect "https://www.lifecycle3d.com/maximo/webclient/login/login.jsp"
} else {
HTTP::redirect "https://[HTTP::host][HTTP::uri]"
}
}Don't forget parentheses in your if statements.
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