Forum Moderators: open
AddType application/x-httpd-php .htm .html
That will run all your .htm or .html pages as php files, php is much more useful than SSI, which are very limited.
To add a menu with php, for example, you first have to set your include folder path, in .htaccess again, like this:
php_value include_path ".:/usr/www/yourhostusername/yoursite/includes"
then to include the menu you would just put this in your page:
<?php include("menu1.htm");?>
and it would be there.
I think you can also set html files to act as shtml files in the same way, but I've never done it so I don't know the .htaccess syntax for that.
On .htaccess files, make sure that you always hit enter after the last line of the file or you can get a really serious error, in other words, the cursor needs to be on the line under the last line when you save it, also make sure to save it as .htaccess or it won't work.
I wish I'd known that technique when I started, it would have made a lot of stuff a lot easier.