Apache httpd will not return a custom error page on status code 400
Issue
I specified CGI or html page to ErrorDocument on status code 400 like the followings:
ErrorDocument 400 /cgi-bin/error.cgi
or
ErrorDocument 400 /somepage.html
But Apache httpd did not return a custom error page on status code 400 when a request is malformed. for example:
curl -H "key: `perl -e 'print "a"x10000'`" -v http://localhost/
Environment
- Red Hat Enterprise Linux
- JBoss Enterprise Web Server (EWS)
- 1.0.x
- Apache httpd
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
