SSI on Ubuntu
To enable SSI on Debian Distribution (Ubuntu) is easy:
SSI on Mac OS X
Mac OS X has no such command so that we have to manually modify the configuration files.
There are 2 ways to achieve this:
AddType text/html .shtml AddOutputFilter INCLUDES .shtml
<Directory "/Users/username/Sites/"> Options Indexes MultiViews Includes AllowOverride All Order allow,deny Allow from all AddType text/html .shtml AddOutputFilter INCLUDES .shtml </Directory>
Then restart apache and all done.
sudo apachectl restart