Hiding the Apache identifier from error messages

  • 3004298
  • 20-Jul-2006
  • 26-Apr-2012


Novell NetWare 6.5
Novell Apache on NetWare 2.0.48


When a page cannot be found within apache, by default an error page is displayed that identifies the server as an 'apache' server.  For security reasons, it may be desireable to hide the fact that the server is an apache server.


Modify the SYS:/apache2/conf/httpd.conf file, and edit the line that looks like this: 
ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var

There are two ways to modify it.
  • Put in an error message
    • ErrorDocument 404 "This page cannot be found"
  • Point to a different HTML document
    • ErrorDocument 404 //