Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 4 of 4

This is a discussion on SSI Includes in .html files? in the Open Discussion & Chit-chat forum
Me again. The site I'm coming from allows SSI includes in .html files. Moving to JaguarPC, it seems to require all files using SSI Includes ...

  1. #1
    JPC Member
    Join Date
    Feb 2004
    Posts
    28

    SSI Includes in .html files?

    Me again. The site I'm coming from allows SSI includes in .html files. Moving to JaguarPC, it seems to require all files using SSI Includes (which is just about every html file on my site) to use a .shtml extension instead. Anyone know how to allow .html files to use SSI Includes? Thanks!
    -dan

  2. #2
    JPC Member
    Join Date
    Feb 2004
    Posts
    28
    I actually figured this one out faster than i thought. its the .htaccess file again, in case anyone is wondering:

    AddType text/x-server-parsed-html .html

    will do the trick.
    -dan

  3. #3
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    You can also do this in CPanel by going to the Apache Handlers section and adding the following:

    Handler: server-pasrsed
    Extension: .html

    But the .htaccess method will probably work just as well.

    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

  4. #4
    JPC Member
    Join Date
    Feb 2004
    Posts
    28
    good to know. thanks!

    -dan

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •