Please Login or Register

Knowledgebase

[How To] User SSI (Server Side Includes)

The following code snippet needs to be added to the .htaccess file in order to get SSI working on html, shtm, htm and shtml files:

CODE:
AddHandler server-parsed .shtml .html .htm .shtm

You can also simply name your files that contain Server Side includes .shtml and you will not need to add anything to your .htaccess file.

Using SSI (Server Side Includes):

Example:
<!--#include virtual="../quote.txt" -->

 For a much more indepth look at Server Side Includes, it is highly recommended you take a look at the Wiki Article on them.






Was this answer helpful?
Add to Favourites Add to Favourites   Print this Article Print this Article
Also Read

Powered by WHMCompleteSolution

Language:


Web Hosting
Client Login
Web Hosting

Email

Password

Remember Me


Web Hosting
Search
Web Hosting




Follow Us on Twitter