Header Code


Tag Archives: SSI

How to include one HTML file inside another 12Feb, 2010

How to include one HTML file inside another

Including an HTML file inside another HTML file can be achieved using Apache’s SSI (Server Side Include). In this article, we’ll stick to the topic only and for further details on usage and scope of SSI you may refer to this article. Configuring your server to permit SSI To permit SSI on your server, you must have mod_include installed and enabled. Generally, this should be installed in Apache by default. Additionally, you must have the following directive either in your httpd.conf file, or in a .htaccess file: Options +Includes Not just any file is parsed for SSI directives. You have to tell Apache which files should be parsed. There are the following two ways to do this: You can tell…

Posted in: HTML