[Resolved] SSI is supported, but FAQ says it isn't

Discussion in 'General' started by tina, Apr 27, 2010.

  1. tina

    tina Well-Known Member

    Last edited by a moderator: Apr 28, 2010
  2. tina

    tina Well-Known Member

    Hmm actually SSI doesn't seem to be working.

    Here is an example that doesn't work:

    <!--#include file="header.inc"-->

    There are no other SSI commands in the same file.

    The server is running LiteSpeed 4.0.14 (no Apache) with cPanel 11.25.
  3. mistwang

    mistwang LiteSpeed Staff

    cPanel's error pages are shtml and work properly.
    Does the file has .shtml suffix?
  4. tina

    tina Well-Known Member

    Ah yes the problem was with the extension. The client was using .shtm. We added these lines to the .htaccess file and it works now:

    AddType text/html shtm
    AddHandler server-parsed .shtm

Share This Page