Forum Discussion
SSHSSH_97332
Nimbostratus
Nov 13, 2012Sending Block Page to user
i want to send block page to user
will the below Irule work :
when HTTP_REQUEST {
log local0. "Log me one time"
log local0. " [HTTP::uri] "
HTTP::respond 200 content { ...
SSHSSH_97332
Nimbostratus
Nov 13, 2012Thanks alot , This one worked . Now i was simulating that because i wanted to send Block page to users when ASM is detecting Violation instead of Support-ID , will the below be good or the custom predefined block page will continue to besent even with the below :
https://devcentral.f5.com/wiki/iRules.ASM__violation_data.ashx
when ASM_REQUEST_VIOLATION
{
log local0. "Violation detected"
log local0. " [HTTP::uri] "
HTTP::respond 200 content [subst {
Blocking Page
We are sorry, but you were blocked due to [ASM::violation_data] in [HTTP::uri]
}]
}
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