PDA

View Full Version : Very dumb question re: SSI from newbie



celeste
February 19th, 2003, 23:39
Hi -

I know this is such an elementary question but before I email my web space provider may be there's a simple answer:

Anyway, I have been using tripd and using ssi

what I do is put this in the html
<!--#include file="leftbar.shtml"-->

and then create a leftbar.shtml

Well a kind webspace provider has now given me some free space so I can move away from the banner ads.

I tried migrating all the html over but the "include" stuff is not showing up.

I know for sure the new provider supports CGI/SSI.

Is there something I need to turn on? It's CPANEL 5.3

Any suggestion for a clueless newbie is much appreciated - or anywhere to read up on this!

Thanks in advance!

kabatak
February 20th, 2003, 00:13
is the file where you put <!--#include file="leftbar.shtml"--> also saved as .shtml ?

celeste
February 20th, 2003, 00:38
Okay - that's it. I renamed the calling file to end with ".shmtl" and it worked!

Thanks for taking the time to help - I really appreciate it. I am sure it's something stupid I am doing but I am just stumped right now!

Sigh - I hate being a confused newbie :(

Why is it that the ssi include files have to have the ".shtml" extension? Is there anyway to change it. Just wondering ...

kabatak
February 20th, 2003, 00:51
that is the rule with SSI, you have to name it as .shtml otherwise it won't work. you can also include an html file as .html, like <!--#include file="leftbar.html"--> is not really necessary to save the file you want to include as .shtml