Forum Discussion
1000blocks
Nimbostratus
Jul 07, 2016301 iRule redirection generating an extra 301 status code?!?
Hi,
We have this iRule in place for 301 redirection...
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] eq "sitename.com" } then {
HTTP::respond 301 Location ...
Yann_Desmarest
Cirrus
Jul 07, 2016Hi,
This irule should not works as "then" is not supported in irules
are you resolving sitename.com and www.sitename.com to the same Virtual Server IP address ?
When you say that you get a redirect to http://www.sitename.com/, is it a mistake and we should understand https instead ?
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