Article ID: 324044 - View products that this article applies to.
This article was previously published under Q324044
We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 7.0 running on Microsoft Windows Server 2008. IIS 7.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:
http://www.microsoft.com/technet/security/prodtech/IIS.mspxFor more information about IIS 7.0, visit the following Microsoft Web site:
This article describes how to set the default documents that are served from a folder or for all of the site when only a folder is requested by the client computer. This article compares the Internet Information Services (IIS) method for this process to the Apache method.
Set Web site's default documentsIf you use Apache, you can control the document that is served to a client if a specific document in a folder is not requested. To do so, you can use the DirectoryIndex directive, for example:
DirectoryIndex index.cgi index.shtml index.htmlThe order in which the documents are listed is important because the order determines the priority. In this example, if both the Index.cgi document and Index.shtml document exist in a folder, Index.cgi is run and returned to the client.
If you use IIS, you can get the same result by modifying the Documents setting for a folder. To set the default documents and the priority in IIS for all of the Web site:
If you use Apache and you want the default document list to include a script, you must have already created an association between the file name extension and the program or library that is used to parse and evaluate the document.
Set default documents for individual folderIf you use Apache, you can set a different default document list for a specific folder by using the DirectoryIndex directive within a Directory directive or an .Htaccess file. If you use IIS, you can also configure the default document for a specific folder. To set a specific folder with a default folder specification:
For more information about configuring basic settings for a migration from UNIX to Windows, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/324213/ )How to migrate Apache settings and configure IIS in a UNIX-to-Windows migration
Article ID: 324044 - Last Review: July 3, 2008 - Revision: 5.0