For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Walter_Kacynski's avatar
Walter_Kacynski
Icon for Cirrostratus rankCirrostratus
Dec 23, 2014

Display notices on APM logon Page dynamically

I have reviewed the article posted at https://devcentral.f5.com/articles/big-ip-apmcustomized-logon-page

 

During our system maintenance periods, I would like to display some static text upon the logon page to our users. Sort of a warning that if they proceeded with their logon the site will not be fully operational. I don't really want to store this text as part of the session variables since it will be identical for all users and it is truly static.

 

Is there way to insert some HTML dynamically based on the contents of an iRule or iFile? I don't want to have to change the access policy just to throw up a notice or message to our users.

 

Thanks.

 

1 Reply

  • One method you could use would include ACCESS_POLICY_AGENT_EVENT event. You could create a macro (Link 1, Link2) within the VPE, that contains a iRule event, and a Message box (APM page with a message) if a certain variable is set. Then the VPE can continue as normal, and all you'll need to do to enable the page is set the variable in the iRule.

     

    What I'm not entirely sure of since I've never tested is whether you'll need to use a session variable to enable the page, or if a GLOBAL variable will work.