Forum Discussion

sundogbrew's avatar
sundogbrew
Icon for Altocumulus rankAltocumulus
Nov 02, 2015

pool redirect based on uri

So I have a list of like 9 different URIs that would be paths from one URL. I am wondering the best way to do it with an Irule. it would be

    domain.com/ 
    /bla1       insidepool:8101/bla1
    /bla2       insidepool:8101/bla2
    /bla3       insidepool:8101/bla3
    /bla4       insidepool:8102/bla4
    /bla5       insidepool:8005/bla5
    on and on.

I am wondering if I should do a list of if uri equals and put the exact input in there then do pool. Then have a default pool as the end? My fear is that the list may expand. Also will it automatically carry the URI to the pool? Meaning once it hits the pool it will go to /URI on that node?

Thanks Joe

12 Replies