Forum Discussion
Michael_Cope_10
Nimbostratus
Oct 03, 2005HTTP::redirect inside switch {} works but generates errors
I've got a large number of ssl vips on the same ip on different ports. I set up an irule to redirect port http requests to https+port. This works but with extraneous errors which I don't understand....
unRuleY_95363
Oct 03, 2005Historic F5 Account
The problem is that you have the redirect command in square brackets []. The square brackets evaluate the command inside the brackets and then place the result where the brackets are. So, you end up evaluating the redirect and then try to execute the result of the redirect which is the empty string. Just remove the square brackets and it should work without generating an error.
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
