Forum Discussion
minkyu
Nimbostratus
Jul 13, 2019asm response page
Can the ASM Response page display the client IP and request URL?
1 Reply
Sort By
Should be possible. This seems to work:
<html><head><title>Request Rejected</title></head><body>The requested URL was rejected. Please consult with your administrator.<br> <br>The requested URL was: <span id="url"></span></br><br>Your IP-address: <span id="clientip"></span><br>Your support ID is: <%TS.request.ID()%><br><br><a href='javascript:history.back();'>[Go Back]</a> <script> document.getElementById("url").innerHTML = window.location; function getIP(json) { document.getElementById("clientip").innerHTML = json.ip; } </script> <script type="application/javascript" src="http://ipinfo.io/?format=jsonp&callback=getIP"></script> </body></html>
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