With Server Side Includes (SSI), you can include other HTML pages inside one web page. You can even generate some dynamic content, such as adding a “Last Modified” field on the page or printing environment variables. This section explains how to enable SSI on your Apache server.
If you are using a clean install of Apache from the Fedora Core RPM packages, SSI is not enabled by default. To begin, open /etc/httpd/conf/httpd.conf and locate this line :
<Directory "/var/www/html">
Directly under that line is a stanza describing the Options directive that immediately follows. Simply add “Includes” to the end of the Options directive like so,
Options Indexes FollowSymLinks Includes
Next, look for this line:
AddType text/html .shtml
It should be uncommented by default. If it is commented out, simply uncomment it. That’s all ! Files with the extension .shtml are SSI files. If you wish to use an .shtml file as the default page for your website or directory, you will need to make one more change. Locate the DirectoryIndex directive and add index.shtml to it, like so :
Enabling Server Side includes(SSI) on fedora core default
With Server Side Includes (SSI), you can include other HTML pages inside one web page. You can even generate some dynamic content, such as adding a “Last Modified” field on the page or printing environment variables. This section explains how to enable SSI on your Apache server.
If you are using a clean install of Apache from the Fedora Core RPM packages, SSI is not enabled by default. To begin, open /etc/httpd/conf/httpd.conf and locate this line :
Directly under that line is a stanza describing the Options directive that immediately follows. Simply add “Includes” to the end of the Options directive like so,
Next, look for this line:
It should be uncommented by default. If it is commented out, simply uncomment it. That’s all ! Files with the extension .shtml are SSI files. If you wish to use an .shtml file as the default page for your website or directory, you will need to make one more change. Locate the DirectoryIndex directive and add index.shtml to it, like so :