Mohamed_Lrhazi
Mar 21, 2013Altocumulus
Help improve http redirect iRule
I wrote this iRule so that my team could hopefully manage HTTP redirects easily, using a simple string data class with this format :
Host,URI,TARGET_URL,HTTP_CODE
Example:
www.example.com,/,http://target.site.com/path,302
*example.com,/foo/bar*,http://target.site.com/path/two,301
I need it to work on BigIP 10.0.
Any improvement suggestions highly appreciated.
https://gist.github.com/lrhazi/89b466ed2089cb19e6f9
Thanks a lot,
Mohamed.