Datasheet

Figure 1- 3
Right clicking the computer node and selecting Properties pulls up a dialog box that allows you to
configure MIME types. Click the MIME Types button to access the Mime Types dialog box, where you
can click the New button to add a new MIME type. For this example, the
.xyz file extension was added
as a being a text type.
You need to
iisreset for the changes to take affect. When the web server is running again, a request for
http://localhost/foo.xyz works, and IIS6 returns the file’s contents.
ISAPI Extension Mappings
Because a web server that serves only static files would be pretty useless in today’s web, ISAPI extension
mappings are available for serving dynamically generated content. However, ISAPI extensions can also
be used to carry out server-side processing on static file content. For example, there are ISAPI extensions
for processing server-side include files. In practice though, ISAPI extensions are typically used for asso-
ciating file extensions with Dynamic Link Libraries (DLLs) that carry out the necessary logic for execut-
ing code and script to dynamically generate page output.
10
Chapter 1
04_596985 ch01.qxp 12/14/05 7:46 PM Page 10