Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Configuring IIS 7.5 to enable server side includes (SSI) for the '.html' extension

I want to configure Server Side Includes (SSI) in IIS 7.5. By default, the file extension that indicates that a file should be processed as an SSI file is .shtml. However, I want to configure IIS so that files with the .html extension are processed as SSI files. This is to enable me to change the footer for multiple .html pages by changing a single file named footer.html.

Is this possible, and if so, are there are any caveats?

I would also be receptive to suggestions for alternative approaches to changing the footer on multiple HTML pages by changing just a single file.

like image 389
Bloomberg Avatar asked Jan 03 '13 08:01

Bloomberg


1 Answers

Hey got the answer just needed to surf some more Here is the link where you can configure IIS server to use Server side include for .html pages as its default provided for .shtml but I didnt wanted that. this link is very helpful

http://tech.mikeal.com/blog1.php/server-side-includes-for-html-in-iis7

like image 92
Bloomberg Avatar answered Oct 05 '22 06:10

Bloomberg