Forum Discussion
Joe_105988
Nimbostratus
Mar 03, 2008Question on how to create a HTTP redirect rule
I am new to creating iRules and need to create one that redirects either of 2 urls (for both http or https) to one url (https).
Any help would be appreciated.
Thanks!
- Nicolas_Menant
Employee
Hi, - Joe_105988
Nimbostratus
I do not see an instance where there are multiple URLs that need to be directed to 1. Can I use multiple 'When' statements in the same iRule? If so, I can see how this can be done. - Nicolas_Menant
Employee
You can use multiple when yes. - The_Bhattman
Nimbostratus
If you cut and paste the example above, then remove the extra "}" brace at the end. That should allow the code to run.
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