Web Analytics Made Easy -
StatCounter server side includes - CodingForum

Announcement

Collapse
No announcement yet.

server side includes

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • server side includes

    Hi i am trying to use ssi with a smaller hosting company. I took the command from my other site and put it in my htaccess

    Code:
    AddType text/x-server-parsed-html .html
    then i created the file and then put this in the html file.

    Code:
    <!--#include virtual="includes/header.html" -->
    i have done this quite a bit on my other hosting company and it works fine.

    for some reason on this smallerr hosting company server it is trying to download the files instead of including them

    i do not know what to tell the hosting company what to do, is it their server config setting that they need to set or what.

    this should be a normal feature but for some reason is it not.

    So what do i tell them they need to do or what do i need to do on my end to make ssi work.

    thanks.
    I am not crazy, my computer had me checked but its on dialup and im still waiting for results :)
    A good way to remember objects from arrays is you shoot objects with arrows Example: $name->id; then Arrays are $name['id'];
    durangod is short for durango dave

  • #2
    Do they support SSI's? Most hosting sites do, but some might not.

    Also, some plans require the extension to be "shtml" in order for SSI's to work.
    Last edited by teedoff; Aug 29, 2011, 01:19 PM.
    Teed

    Comment


    • #3
      i played around a bit with some commands and i did get it to work finally this way.

      Code:
      AddHandler server-parsed .html
      AddType    text/html     html
      anything else i need to add or should that suffice?

      i will also let them know how so they can help other customers, i know how it is to struggle when you first start out, especially with hosting and stuff.
      I am not crazy, my computer had me checked but its on dialup and im still waiting for results :)
      A good way to remember objects from arrays is you shoot objects with arrows Example: $name->id; then Arrays are $name['id'];
      durangod is short for durango dave

      Comment

      Working...
      X
      😀
      🥰
      🤢
      😎
      😡
      👍
      👎