Michael_Ozorows
Mar 06, 2017Nimbostratus
404 redirect with URL Persistance?
Hello,
We have 2 nodes in a pool with health monitors on Port 9120.
I was able to create a http profile that does a 404 redirect to a third node if the health monitor shows all server pool members down. Then it was asked that we keep URL persistence so if the redirect happens http://mysite.com stays http://mysite.com rather than .
I was able to test this iRule:
when CLIENT_ACCEPTED { if { [active_members [LB::server pool]] == 0 } { pool mythirdnodepool } }
Only issue is they want mythirdnode/a/404.html
Can anyone help me modify this iRule to make the redirect happen but instead of just the default /get have it be mysite.com/a/404.html?
Thank you