Forum Discussion
Amit585731
Nimbostratus
Apr 26, 2018Enabling HTTP CHeck for specific URI
HI All,
I am trying to disable HTTP check (Body in GET or HEAD requests) for specific URI. Is there a way I can disable in ASM for only one URI.
Thanks.
youssef1
Cumulonimbus
Apr 27, 2018Hello,
Hope to understand your need!!!
you want something like that:
when HTTP_REQUEST {
set method [string tolower [HTTP::method]]
set [HTTP::uri]
if { $uri starts_with "/blabla"} {
switch $method {
"get" -
"head" {
ASM::disable
}
default {
don't do anything...
}
}
}
}
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