Forum Discussion
DScottSLC_13452
Nimbostratus
Jan 06, 2015Redirect non www and https issue
Hi,
We have two Irules on a Virtual Server pool that seem to be causing an intermittent issue for some clients / browsers.
_sys_https_redirect (the default F5 one included on the BIGIP boxes) an...
nitass
Employee
Jan 06, 2015can you try something like this?
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] equals "pennyforlondon.com" } {
HTTP::respond 301 noserver Location "https://www.pennyforlondon.com[HTTP::uri]" Connection Close
event HTTP_REQUEST disable
}
}
by the way, why don't you combine irules together? shouldn't it be simpler and cleaner?
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