Forum Discussion
Hamish
Mar 09, 2012Cirrocumulus
Just an aside. Although doing the globs above is quick and easy (and performs well too), you will run the risk of breaking your site a little if you get the irule wrong when editing it on the fly (changing logic is always interesting ;) and if you have a lot of sites it will quickly get to be quite long...
To reduce risk of breaking migrated apps wth the change to add new ones I'd use a datagroup and a lookup via the [class ...] commands.
You could always use the ProxyPass iRule from the codeshare too... New sites are then just a datagroup edit away. (In fact id recommend reading the ProxyPass iRule anyway. It will show you a lot of stuff thats possible with an iRule).
H