Forum Discussion
jato_40959
Nimbostratus
Jun 02, 2010Redirect 301
I have implemented this irule in my system:
when HTTP_REQUEST {
HTTP::respond 301 Location https://[getfield [HTTP::host] ":" 1][HTTP::uri]
}
The irule isn't working, ...
hoolio
Cirrostratus
Jun 02, 2010Hi Jato,
As Bhattman suggested, this is a common error and topic on DC. You can try searching the forums for "Multiple redirect/respond invocations not allowed" to find a lot of related posts.
The error is generally caused by two iRules or two commands within the same iRule trying to send the client a response for the same HTTP request. If you're trying to redirect all requests from HTTP to HTTPS, you shouldn't need to have any other iRules on the HTTP VS.
If you want more help troubleshooting the issue, can you post anonymized copies of the other iRule(s) enabled on the VS?
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