Forum Discussion
Dan_103700
May 25, 2011Nimbostratus
IRule for Context-Specific ASM Error Page
I wrote a couple iRules to help provide some context to our users when they get dinged by the ASM. Basically, I wanted to pass in the URL of the page that generated the block, in addition to the "supp...
Dan_103700
May 25, 2011Nimbostratus
Aaron,
Thanks for the response. The change you submitted doesn't work unfortunately -- it results in connection resets for some reason. As for the PHP code, I'm not showing any of the parameters on the page, except for support ID which I am sanitizing.
I just tried changing the Redirect URL loaded in the ASM to an empty value, which actually fixed Chrome. This took some doing, since the javascript validation in the F5 wouldn't let me submit it at first. So I used the tamper data firefox extension to change the data after it passed validation, the ASM never bothers to validate it server-side, so I was able to get it to save.
This fixed Chrome, but for some weird reason, IE now redirects to:
http://www.domain.com/not_found.htm?filterId=259203436710356052&uri=/
It looks like IE follows the first redirect and then follows the empty one, which it interprets as a request for the document root on the current domain. So close...
Any other suggestions? Can I try disabling the ASM's rejection of the request somehow and rely on my own redirect to handle the request?
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