Forum Discussion

song_chi_woon_1's avatar
song_chi_woon_1
Icon for Nimbostratus rankNimbostratus
Nov 05, 2006

uri connection limit(An exceeded user is redirect to a host designated)

when the connecton Designated to the numerical more than which user designated to specific sites (an each uri _ specifed uri site) price, and redirection is a way to a site.

 

 

I am trying to write an irule that will do the following:

 

1) limit the special uri in web servers to 50 connections each.

 

2)any connection after 50 will be redirected ti another site(fallbackhost)

 

3)how to use iRule if http://www.abc.com/uri of web server connected over 50 user, next connection user are connect to fallaback

 

  • Colin_Walker_12's avatar
    Colin_Walker_12
    Historic F5 Account
    There's a good example of how to limit connections to a given Virtual in the codeshare, here: Click here

     

     

    It would be a relatively simple logic expansion to have this work on a per URI basis, rather than just a per VIP basis, I would think. Then, all you need to do is change the reject action to a redirect for those requests over your limit, and you should be set.

     

     

    Hopefully this will get you pointed in the right direction.

     

     

    Colin