I have an shtml file (conferences.shtml) that includes this line:
<!--#include file="included.txt" -->
The file included.txt is in the same directory as conferences.shtml. I have also added these three lines to my .htaccess file:
AddType text/html .shtml
AddHandler server-parsed .shtml
Options Indexes FollowSymLinks Includes
The .htaccess file is in the root directory for the subdomain that contains conferences.shtml.
Unfortunately, though, I still don't see the content of included.txt on the webpage. This is the first time I've tried working with SSI, and all the tutorials and forums make it seem so straight-forward. Am I missing something?
(Perhaps significant: I can't actually see the .htaccess in the cPanel File Manager. I know it is there, because when I upload a new version I get a warning about overwriting an existing file, but it isn't actually visible. I assume this is because of some display setting that I haven't yet discovered, but thought I'd mention it in case it rings any bells.)