Forum Discussion

Lance_O_Connor_'s avatar
Lance_O_Connor_
Icon for Nimbostratus rankNimbostratus
Nov 15, 2005

Fallback Host based on URL

We host a site that provides downloads to a variety of other sites, and we currently have a profile that implements a Fallback Host when the nodes are overloaded. However we now have a problem that when a download is requested from a site that sub-contracts us for download services, we redirect to our site as a fallback host when we should redirect to theirs. This has caused some of the sites that we provide download services some distress.

 

 

Is there a way to dynamically set the fallback host based on either the URI or the referer if the fallback host condition is triggered?

 

 

Regards,

 

Lance O'Connor

 

loconnor@macrovision.com
  • drteeth_127330's avatar
    drteeth_127330
    Historic F5 Account
    You can accomplish this with an LB_FAILED rule that uses the HTTP::redirect command. Try searching the forum for LB_FAILED. Good luck!