Forum Discussion
send 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
2 Replies
- 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.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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
