pgsmith_120398
Oct 18, 2013Nimbostratus
Remove URI on sorry server page
I have a very simple irule that just directs traffic to a sorry server pool if there are no pool members available for the requested pool. I also initially remove any URI to ensure that links with URIs see the maintenance page. I would like to configure a rule that does this exact same thing but removes the URI every time. For example when I goto amazon.com/test I see a sorry page in the same session if I add 123 to the end of the uri I still see the same sorry page. In my rule I initially see the sorry page but if I add anything to the uri I get a browser 404 page.
when HTTP_REQUEST {
if { [active_members [LB::server pool]] < 1} {
HTTP::uri /
pool /ESI/solr.erp-pool
}
}