Quantcast



Docs


Blogs


Forums


Samples


Media


Labs


Resources

 




DevCentral > Weblogs > DevCentral TV - Your Daily Dose
 DC Post of the Week - Switch Gone Wild
posted on Friday, June 13, 2008 11:18 AM



“Switch” Gone Wild

This week Deb looks at a post from gregt, who was having some trouble with choosing a pool based on the requested URI.

Posters aherrman and cmbhatt (CB) jump in to correct the logical order of comparisons (most specific first, please!).  CB further suggests using switch with wildcards to replace the nested “if” commands that used “starts_with” and “ends_with”.

You’ll probably want to pull up the post to follow along on this one, so here it is:  iRule sends to wrong Pool and Port

 


Categories:  ,  ,  


Email This
  del.icio.us
      

Feedback

No comments posted yet.
 Leave Feedback
Title  
Name  
Email
Url
Comments   
Please add 7 and 6 and type the answer here: