I've got a page which I have given a .shtml extension and am trying to #include a file. However, the server just doesn't seem to be processing the #include. The page is here: http://www.sprin2success.com/villa/index.shtml My #include code looks like this: <!-- #include file="menu.inc" --> (this works fine on my local pc) Can someone confirm that .shtml files are still automatically handled by SSI and if not, how I can get it working?
I don't know if HU servers are set up for SSI or not, but I tend to use PHP for this anyway. See http://uk2.php.net/manual/en/function.require.php and http://uk2.php.net/manual/en/function.include.php if you can't wait for more info on the SSI.
SSI works fine, you have a simple syntax error there... You've added spaces between <!-- and #include, and "menu.inc" and -->, so try ... <!--#include file="menu.inc"--> This is correct so long as the menu.inc is in the same folder as your index.shtml file