Forum Discussion
mraful_64014
Sep 09, 2011Nimbostratus
I need opinions on how to handle rejects
I have written an irule to reject certain URI requests. As of now, the user would receive a simple 404 error, HTTP::respond 404. However, I don't want a poential hacker aware that something exists ...
Michael_Yates
Sep 14, 2011Nimbostratus
@watkins,
I like your idea. It would be interesting to build and test out.
@mraful,
Yes, you can create a valid iRule to do that, but I got mixed results when I tried it.
IE 8 ignored the content and displayed a default 404.
Chrome just declared the site broken.
Firefox displayed it as intended.
You can test it yourself if you like:
when HTTP_RESPONSE {
HTTP::respond 404 content "Site unavailable
Oops! This site is unavailable.
NOTICE: The site you were trying to reach is unavailable.
"
}
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