Forum Discussion
Adil_Khan_31203
Cirrus
Jun 05, 2018iRule to display Error message and close connection
Hi all,
I am looking to get an iRule to drop traffic and return with an Error Message when a string in a particular data group list is matched. The URI is under a data group list called commstgtest. ...
ekaleido
Cirrus
Jun 05, 2018Something like this?
when HTTP_REQUEST {
if {[class match [string tolower [HTTP::uri]] ends_with commstgtest]} {
HTTP::respond 200 content { ErrorError page }
}
}
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