Forum Moderators: phranque
Each folder has its own .htaccess file AND the file I was trying to include was in a different folder.
Wow, I can not tell everyone how great it is when changing one item in a navigation menu, how easy it is to do it once and not 5,000 times.
Without wishing to confuse you further, another way is to put the following into your .htaccess file:
Options +Includes
XBitHack on
This tells the server to parse all executable files for SSI directives. The advantage to this approach comes if you have any html files that do not use SSI (for example, if your index page is a splash page or of a different format to the rest of the site). Then you do not have to set them as executable and they will be served faster by the server.
To make a file executable perform a CHMOD 755 on it. To do this in WS_FTP select the file (or files), right click on it, choose CHMOD and tick the boxes as follows:
Owner Group Other
Read Read Read
Write - -
Execute Execute Execute
You're right about the maintenance ease of SSI. Do a search also for conditional SSI. It's great for simple "dynamic" content, such as including a seasonal piece in your page or passing simple arguments in the query string.