Support Center » Knowledgebase » Server Side Includes



 Server Side Includes
Solution
On our servers, you can use Server-Side Includes (SSI) in any file with a .shtml extension.

You can over-ride this requirement and use SSI in .html files by following these instructions:

Create a plain text file named ".htaccess" in the directory in which you'd like all files with a different extension to be parsed for SSI. Inside the .htaccess file, put this one line:

AddHandler server-parsed .html

That's it! Now any file ending in .html will have SSI run on it! We really don't recommend doing this unless absolutely necessary. It adds some overhead to the web serving to parse in SSI, and so each and every request for a .html file (even ones that don't have any SSI in them) will be a little bit slower when you turn on this option. It's much better to just name the appropriate files with the .shtml extension if you can!



Article Details
Article ID: 30
Created On: Nov 04 2005 08:34 AM

 This answer was helpful  This answer was not helpful







home

Support
support center

// www.kionic.com / support center