MPAA - Personal Loans - Mortgage Calculator - Free eBooks Download - Payday Loan

PDA

View Full Version : Cannot use SSI...query


ian_ok
Dec 4th 2004, 9:22 am
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

digitalpoint
Dec 4th 2004, 9:24 am
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.

ian_ok
Dec 4th 2004, 11:35 am
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...

digitalpoint
Dec 4th 2004, 11:42 am
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.