Forum Moderators: open

Message Too Old, No Replies

Allowing .htm pages to run Server Side Includes (SSI). Is it possible?

Do pages have to be .shtml? Can they stay as .htm or .html?

         

bouncybunny

1:46 am on Nov 20, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Windows IIS 2003 server and SSI!

I am updating a website and adding SSI elements to some existing pages. But these pages are .htm and .html files.

I have tested the SSIs with .shtml pages and they work fine. But I don't really want to have to change the extensions of dozens of pages to .shtml. (I know that I could 301 redirect some of these pages, but in some cases this is not appropriate and also I would need to do this for the home page).

So, my question is this. Is it possible to (easily) configure a Windows server to allow SSIs to run on .htm or .html pages?

Thanks for any help.

encyclo

2:02 am on Nov 22, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I found this earlier thread which describes how you can set up IIS to parse .htm files for SSI:

[webmasterworld.com...]

The instructions may be a bit out of date, but probably the process will be similar.

bouncybunny

6:56 am on Nov 24, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks encyclo.