Forum Moderators: open

Message Too Old, No Replies

Enabling SSI on IIS

Hello. New User. With a question :)

         

jigga

9:48 pm on Jun 1, 2001 (gmt 0)

10+ Year Member



Hi, i'm just wondering, how do I enable SSI on IIS 5.0? I am basically using SSI to include header and footer files on my pages, and well, I put my tags in the files, but it doesnt show up when I load the file on my (localhost) site.

Thanks in advance,

jigga

Xoc

2:45 am on Jun 2, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld.

You need to do SSI within an Active Server Page (one with the .asp extension). Or alternatively, you need to tell IIS that it should analyze and process .htm pages before it gets sent down to the client. To do that, you need to:

1. Start up Internet Service Manager
2. Select the web site you want to do the processing on
3. Right click on it and select Properties
4. Select Home Directory
5. If necessary, create an application
6. Press Configuration
7. Select .asp and press Edit
8. Copy down the information in the dialog
9. Press Cancel
10. Press Add
11. Use the file extension .htm, use all the other information that you copied down in step 8
12. Press OK to all the dialogs
13. Restart IIS for good measure