Migrating a Web Server to IIS 5.0

Previous Topic Next Topic

Resource Configuration

Table 3.3   Apache srm.conf Directives and Corresponding IIS 5.0 Properties



Apache Directive
Wizard
Migrates
(Y/N)

IIS Metabase
Property


IIS Snap-in Configuration
AccessFileName Yes Not applicable The wizard uses these parameters for mapping access configuration information. However, in IIS 5.0 there is no separate access configuration file. IIS 5.0 security is integrated with Windows 2000 security. To limit access to a site or directory by user, you must configure a new user account in the Windows 2000 Server User Manager. You can also classify individuals or groups as “Web site Operators” with limited authority to administer a Web site. They do not have to be Windows 2000 Administrators. To define Web site Operators, in the IIS snap-in right-click a Web site, click Properties, and then click the Operators tab.
AddDescription No Not applicable There is no corresponding property in IIS 5.0.
AddEncoding Yes MimeMap To map a file extension to a MIME type, right-click a Web site, choose Properties, and then select the HTTP Headers tab. In the Mime Map box, click File Types, and then click New Type. Or, to edit an existing MIME type, select a file type in the list, and then click Edit. Type the file extension and associated MIME type in the appropriate boxes.
AddIcon No Not applicable IIS 5.0 uses the standard Windows 2000 icons when displaying a directory. You cannot specify a substitute icon.
AddLanguage No Not applicable There is no corresponding property in IIS 5.0.
AddType Yes MimeMap To add MIME types, right-click a Web site, choose Properties, and then select the HTTP Headers tab. In the Mime Map box, click File Types, and then click New Type. Type the file extension and the associated MIME type in the appropriate boxes.
Alias Yes Not applicable The wizard creates a Virtual Directory object for each Apache alias and applies the appropriate parameters by configuring corresponding metabase properties. To create a virtual directory, right-click the FTP or Web site, click New, and select Virtual Directory. Use the New Virtual Directory Wizard to complete this task.
AliasMatch Yes Not applicable There is no direct equivalent in IIS 5.0 because there is no concept of regular expressions. The wizard creates a corresponding Virtual Directory object. See the previous note for Alias.
DefaultIcon No Not applicable Windows 2000 Server offers a standard default icon for file types that do not have a preset icon in the file system.
DefaultType Yes MimeMap IIS 5.0 contains a comprehensive list of MIME types. You can add new MIME types to the list should you need to serve a new MIME type. To view default MIME types, right-click a Web site, choose Properties, and then select the HTTP Headers tab. Click the File Types button in the MIME Map section of the tab.
DirectoryIndex Yes EnableDirBrowsing You can configure IIS 5.0 to allow directory browsing. To configure this setting, right-click a Web site, choose Properties, select the Home Directory tab, and then select the Directory Browsing check box. IIS 5.0 does not allow you to specify a prewritten HTML document as a directory index.
DocumentRoot Yes Path The wizard migrates this directive to the Path property of the IIS Root object. This property defines the path from a Web site home directory to its corresponding physical directory. To configure this property, right-click a Web site, choose Properties, and select the Home Directory tab. Then specify the location of the home directory (document root).
ErrorDocument Yes HttpErrors To enable custom error messages, right-click a Web site, choose Properties, and then select the Custom Errors tab. In cases where the custom error page is a standard HTML page, you need only copy the file to the IIS 5.0 system in order to complete the migration. In the case of CGI custom errors, you need to test the CGI scripts after moving them to IIS 5.0.
FancyIndexing No Not applicable IIS 5.0 offers default indexing only.
HeaderName No Not applicable There is no corresponding property in IIS 5.0.
IndexIgnore No Not applicable There is no corresponding property in IIS 5.0.
LanguagePriority No Not applicable There is no corresponding property in IIS 5.0.
MetaDir No Not applicable You do not need to specify a Meta Directory to serve HTTP header information. To specify custom HTTP headers, right-click a Web site, choose Properties, select the HTTP Headers tab, and then click Add. Specify a header name and value in the appropriate boxes.
MetaSuffux No Not applicable See the previous note for MetaDir.
ReadmeName No Not applicable IIS 5.0 does not specify a default name for ReadMe files.
Redirect Yes HttpRedirect To redirect a request to another resource, right-click a Web site, choose Properties, select the Home Directory tab, and then select A redirection to a URL. Type the URL in the Redirect to box.
RedirectTemp Yes HttpRedirect In IIS 5.0, redirections are temporary by default.
RedirectPermanent Yes HttpRedirect To make a redirection permanent, follow the steps previously given for Redirect. In addition, select the A permanent redirection for this resource check box after typing the URL.
ResourceConfig Yes Not applicable The wizard uses this information, but it does not directly translate to an IIS 5.0 property.
ScriptAlias Yes Not applicable The wizard creates a Virtual Directory object using the Apache path information and sets the IIS AccessExecute property to TRUE. Any virtual directory can execute scripts when the “Allow Scripts” permission is enabled in the IIS snap-in. To configure this property, right-click a Web site, choose Properties, select the Home Directory tab, and then select the Scripts only or the Scripts and Executables option in the Execute Permissions box.
TypesConfig Yes MimeMap The wizard adds specified MIME types to the IIS 5.0 MIME map. To view or configure MIME types, right-click a Web site, choose Properties, and then select the HTTP Headers tab. Click the File Types button in the MIME Map section of the tab.
UserDir No Not applicable IIS 5.0 does not offer a default directory for ISP user httpd directories. You must create a virtual directory for each user in the IIS snap-in, and then point it to the user directory in Windows Explorer.


© 1997-1999 Microsoft Corporation. All rights reserved.