Forum Discussion
steve_cross_650
Nimbostratus
Dec 27, 2006redirect http to https and vise versa
I had asked this question in another thread (http://devcentral.f5.com/default.aspx?tabid=28&view=topic&forumid=5&postid=11139) but never got an answer so I thought I would createmy own ticket in hopes...
Kenny_Van_73892
Nimbostratus
Dec 28, 2006I'm not familiar with irules in version 9 but try this and correct syntax
when HTTP_REQUEST {
if {[string tolower [HTTP::uri] starts_with "secure_pages"]} {
HTTP::redirect "https://[HTTP::host] [HTTP::uri]" }
else { pool pool_B
}
}
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