Migrating a Web Server to IIS 5.0

Previous Topic Next Topic

Custom Error Messages

In Apache, you provide custom error messages by editing the Error Document and referring to it by using the command:

ErrorDocument 404 http://domain.com/404.html

To customize error messages in IIS 5.0, in the IIS snap-in open Properties for the Web site. On the Custom Errors tab, you’ll see the location of the error message files. From here, you can map custom error messages to a file or to a URL on the local server.


© 1997-1999 Microsoft Corporation. All rights reserved.