IIS: The First Step
Internet Information Services is the part of the Windows operating system that services requests to your Web site. The IIS Manager shows a tree of sites grouped under the Web Sites group, as shown in Figure 6.1. Each site is set to take requests by IP address, port (normally port 80), and a host header value, which allows one IP to be used for several sites.
Figure 6.1. IIS with open site property sheet.
Chapter 8, "HttpHandlers and HttpModules").
The preceding description isn't technically the whole story. A driver called http.sys actually gets the request first in Windows Server 2003 (IIS v6.0). It passes off the processing to one worker process instance (w3wp.exe) for each application pool. In IIS v5.x in Windows 2000 and Windows XP, the request is first received by inetinfo.exe, which sends it to aspnet_isapi.dll and then to the ASP.NET worker process, aspnet_wp.exe. IIS6 has a shorter pipeline, so ASP.NET requests are generally handled more quickly. |
Figure 6.2. Application configuration dialog in IIS.

Figure 6.3. Editing the mapping of a file extension to an application.

Figure 6.4. Specifying default documents.

Prior to IIS 6, wildcards were accomplished by adding an additional entry to the application extensions part of the dialog by specifying ".*" as an extension. |