The Web server must know that a file contains server-side include commands before it processes the file. By default, the Web server is set up to process files with the .stm, .shtm, or .shtml file name extensions. You can disable the processing of server-side include directives for the entire Web server, for a Web site, for an application, or for an individual directory.
To enable server-side includes
- Give files that contain SSI directives an SSI file name extension (.stm, .shtm, or .shtml).
You can add additional extensions; see Setting Application Mappings.
- Put SSI files into a directory with Script or Execute access permissions. For more information, see Setting Access Permissions for a Directory.
To disable server-side includes
- In Internet Service Manager, select a Web site or directory, open its property sheets, and then click the Home Directory or Directory tab. To disable SSI for an application, select the application starting point directory.
- Click the Configuration button, and then click the Application Mappings tab.
- Select the extension, and then click the Remove button. When the Web server receives a request for a page with this file name extension, it will not process server-side include directives within the page.
© 1997 by Microsoft Corporation. All rights reserved.