Forum Discussion
Hussein_Ghazy
Nimbostratus
Sep 01, 2015Adding the Time to ASM Response Pages
Hi All,
I want to add the Time when a request was rejected.
Below is the default response page:
Request RejectedThe requested URL was rejected. Please consult with your administrator. ...
samstep_81205
Nimbostratus
Sep 02, 2015Adding the actual precise time on the ASM at the time of violation is not that easy - requires replacement of the Blocking Response Page with an iRule. In most cases this is not necessary though - if a user is looking at the Blocking Page his/her current time is the time of the violation.
If you just need to show the time on the page just copy paste this piece of JavaScript into your Blocking Response Page:
Hope this helps,
Sam
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects