Forum Discussion
yihwen_100254
Nimbostratus
Jun 14, 2011Generic iRule to redirect domain.com to www.domain.com
Hi
I am planning to create an generic iRule to perform a http://domain.com to https://www.domain.com I know in the F5 v10.x.x, there is a _sys_https_redirect and that will actually redirect ...
Can you try testing with the latest version I just posted? I think one issue with the other versions was they handle requests with no host header properly. The latest version will redirect to the virtual server IP via HTTPS. If this isn't a routable IP for clients you could hard code the correct hostname or IP address. Of course, this would need to be customized per virtual server.
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