Hi pgsmith,
There best way is to methodically approach this. You need to be able to debug, so use the developer tools in Chrome/Firefox or HTTPWatch (IE/Firefox) or some other tool, so you can see which request are not being responded to.
Next a suggestion, you said you don't want to see a URL Host change, but how about a URL Path change? You could redirect to http://[HTTP::host]/sorry
when CLIENT_ACCEPTED {
set def_pl [LB::server pool]
}
when HTTP_REQUEST {
if {[HTTP::path] eq "/sorry" || [HTTP::header "Referrer"] ends_with "/sorry"} {
pool /ESI/solr.erp-pool
} elseif { [active_members [LB::server pool]] < 1} {
HTTP::redirect "http:://[HTTP::host]/sorry"
return
} else {
pool $def_pl
}
}