Forum Discussion

neeeewbie's avatar
Feb 06, 2020

how to configure diplay block page when network fail occur??

Hi all

 

I have question!

 

how to configure diplay block page when network fail occur ??

3 Replies

  • You mean to say pool member failed? Yes

    when LB_FAILED {
            	# POOL-NAME is your pool name, Modify accourding to your requirement...
               if { [active_members POOL-NAME] < 1 } {
               # Log and direct the client to Maintenance Page
               HTTP::respond 200 content "<html><head><title>Block Page</title></head><body>Not Authorized....</body></html>"
    		}
        }

     Paste if you have different requirement.

    • thank you for your reply !

      how to configure displaying block page when network fail through forwarding_vs ?

  • You will not able to configure above iRule for Forwarding IP VIP. Its work on Network Layer so page can't display. Not sure about other options