SSI not working

Discussion in 'HTML Development' started by Leano, Jan 25, 2006.

  1. Leano New Member

    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?
  2. Impel GD Graphic and Web Design

  3. fidget Vox et praeterea nihil

    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

Share This Page