pgsmith_120398
Jan 14, 2014Altostratus
Sorry page redirect
Im trying to set up an iRule that will redirect traffic to an IIS server when there are no active pool members. I have the basics working. However the sorry page will only display properly the first time if there is a uri. If the user refreshes the page or tries a different uri they get a 404.
when HTTP_REQUEST {
if { [active_members [LB::server pool]] < 1} {
HTTP::uri "/"
pool /ESI/solr.erp-pool
}
}
How would i configure this irule to apply every time the user refreshes the page or hits the url again?