Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
Setting Up Server-Side Includes with Different Extension
Article ID: 161562 - View products that this article applies to.
This article was previously published under Q161562
We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:
IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.
If you need to use server-side includes with an extension other than the default specified by Microsoft Internet Information Server (.stm files), you need to add a new mime type for the extension by editing the registry.
NOTE: Remember to stop all the Internet Services and then restart the Internet Services after making changes to the registry.
WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.
For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it.
Perform the following steps:
Article ID: 161562 - Last Review: June 22, 2005 - Revision: 2.1