1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Cannot use SSI...query

Discussion in 'Programming' started by ian_ok, Dec 4, 2004.

  1. #1
    I get the following error meassage when trying to run SSI

    There is a recursive #INCLUDE chain

    My host tell me......

    My servers do not support Server Side Includes. To use Server Side Includes, you should upgrade to Windows with ASP or Windows with ASP and load balancing. ***MORE COSTS**

    However I hear you can use PHP and this can provide a similar service to SSI.

    I have a menu that I want to just update on 1 page and for it to take effect on all pages....I.e. a quick and simple way to add/delete/modify menu's I've searched the web but only found SSI.

    Any pointers/websites would be grateful.

    Ian
     
    ian_ok, Dec 4, 2004 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    What type of SSI are you trying to run? An Apache SSI (shtml) does not require a Windows server, nor could you even run it on Windows if you wanted to.
     
    digitalpoint, Dec 4, 2004 IP
  3. ian_ok

    ian_ok Peon

    Messages:
    551
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Website running on windows servers.

    I added a .htaccess file with:
    AddType text/x-server-parsed-html .html .htm

    Made a text and saved as .txt with the html code I wanted to add into a certain section.

    Added:
    <!--#include file="TheAboveFileName.txt" -->

    I added this this into the html file I wanted the code to appear.

    It didn't work....

    Changed html to shtml

    It didn't work...

    Ian

    p.s. Am really thinking of ditching my hosting company and trying another...
     
    ian_ok, Dec 4, 2004 IP
  4. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #4
    shtml and .htaccess files are both specific to Apache servers, which can run on Windows, but I've never seen one in production. Windows web server typically run IIS.
     
    digitalpoint, Dec 4, 2004 IP