Forum Discussion
Andre-Germany
Nimbostratus
Mar 15, 2019Allowed URL with Parameter
Hello, everybody,
I have inferential problem.
I have two URLs, one should be allowed and the other should not be allowed.
/prweb/*/!STANDARD?pyActivity= --> allowed
/prweb/*/!STANDARD ...
Stanislas_Piro2
Cumulonimbus
Mar 15, 2019In ASM, there is no rule to deny url without parameter but only defining allowed parameters...
If you want to do it, you have to write an irule...
when HTTP_REQUEST {
if {!([string match [HTTP::path] "/prweb/*/!STANDARD"] && [HTTP::query] starts_with "pyActivity")} {
drop
}
}
You can also do it within a LOCAL TRAFIC POLICY with same logic
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