Forum Discussion
dakritt_315479
Nimbostratus
Apr 06, 2018ASM disallowed url and wildcard
Hello community!
I'm working on an asm policy to filter only /admin/* webpages. I want that users access the whole site except admin section.
The Big-IP version is 11.5.5.
I know how ...
youssef1
Cumulonimbus
Apr 06, 2018Hello,
Your bahaviour is normal the functionnality "Disallowed URLs" is availlable only for explicit URL and not wildcard. So you can't set a wildcar URL:
URL (Explicit only) Example: /index.html
that's why it's working (a blockage took place) when you enter "https://www.mysite.com/admin/*" only.
I advise you to process your needs trough an irule. As i told you it's more simple and you can easly log all attemtps...
when HTTP_REQUEST {
set uri [string tolower [HTTP::uri] ]
if { $uri starts_with "/admin" } {
log local0. "rejected request $uri for client [IP::client_addr]"
reject
}
}
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
