Environment
Novell NetWare 6.5
Novell Apache on NetWare 2.0.48
Situation
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.
Resolution
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.
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 /
/
- ErrorDocument 404 /