Forum Discussion
Sabeer_Ali_2389
Altostratus
Dec 10, 2015iRule - http to https permanent redirection : respond code 301
Currently we are using the F5 inbuilt iRule - _sys_https_redirect , we need a permanent redirection (respond code 301) . can I use belwo iRule ?
when HTTP_REQUEST { HTTP::respond 301 HTTP::redir...
Arie
Altostratus
Dec 11, 2015HTTP 302 should not be cached by the client.
However, I would recommend using something like cURL for testing rather than a browser since it eliminates optimizations and most caching.
curl -I "http://www.domain.com/"
The flag
-I instructs cURL to do a HEAD request, which makes it much easier to review the results. Keep in mind that HEAD sometimes returns a different response than GET.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
