Forum Discussion
veredgf_96123
Nimbostratus
Nov 21, 2018send people to website 404 page for illegal URL block
We have a policy that is set to allow only existing URLs within it. My client would like people to receive a 404 "page not found" message and not an ASM response page when a user tries to access an illegal (nonexistent) URL.
Any suggestions on how to achieve this?
Thanks
- nathe
Cirrocumulus
Veredgf,
You would need an iRule to do this and use ASM events.
See ASM iRule wiki
Hope this helps,
N
- MSZ
Nimbostratus
Simple add 404 in Allowed response code. Go to the Application Security --> Properties ---> make sure the ASM poicy is selected Then add 404 in allowed response code.
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