Forum Discussion
Ravi_110217
Nimbostratus
May 28, 2008HTTP page to be redirected on HTTPS page
HI,
I'm having an issue with redirecting following URL
I want to redirect URL from http://www.abc.com to https://www.abc.com
I have written following IRULE but does not seem to be working..
WHEN HTTP_REQEUST {
IF {[HTTP::HOST] eq "http://www.abc.com"} {HTTP::REDIRECT https://[HTTP::host][HTTP::uri] }
}
Thanks in advance...
- Ravi_110217
Nimbostratus
dont worry it's been sorted... - hoolio
Cirrostratus
I've always found that Host values are interpreted without case sensitivity on web servers and only IIS being case insensitive for paths in URIs. I tend to set the host to lowercase for comparisons as a developer or user might use mixed case.
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