View Full Version : ssi


mooko0_cat
03-18-2003, 12:59 PM
i cant get this to work (i havent uploaded it yet so its still on my pc):

<html>
<head>
<title>click *here* to see me zzzzz</title>

<link rel=stylesheet href=light.css type=text/css>
</head>
<center>
<body background=layout/greygrid.gif>
<table width=355px><tr><td background=layout/top.gif height=60px></td></tr>
<tr><td background=layout/border.gif width=355px>

<!--#include file="me.txt" -->

</td></tr>
<tr><td background=layout/bottom.gif height=60px></td></tr></table>
</body></html>

can someone tell me what to fix please cos it wont include the file!!! and it is saved as a .shtml file

MaGiCSuN
03-18-2003, 03:06 PM
You have to make a file with this included:

<html>
<head>
<title>click *here* to see me zzzzz</title>

<link rel=stylesheet href=light.css type=text/css>
</head>
<center>
<body background=layout/greygrid.gif>
<table width=355px><tr><td background=layout/top.gif height=60px></td></tr>
<tr><td background=layout/border.gif width=355px>

<!--#include file="me.txt" -->

</td></tr>
<tr><td background=layout/bottom.gif height=60px></td></tr></table>
</body></html>


and save that as .shtml

then make a .txt file and put the content in there that you watn to show on that page. Save it as me.txt

that should work.

Love,
Mirna

mooko0_cat
03-18-2003, 03:08 PM
yeh, ive done that but it still wont work... :(

MaGiCSuN
03-18-2003, 03:12 PM
hmm.. weird. You spelled everything properly? For example, if you saved it as Me.txt and fill in me.txt it won't work because of the capital.

i wouldn't know why it is not working...

mooko0_cat
03-18-2003, 03:18 PM
it is me.txt
its sooo fustrating!! i uploaded it to the web but it makes no difference :( can u recommend anything else i can do?

MaGiCSuN
03-18-2003, 03:21 PM
What host do you use ?

mooko0_cat
03-18-2003, 03:23 PM
blueyonder space i got free

MaGiCSuN
03-18-2003, 03:33 PM
oh yeah i see, they do allow SSI
http://help.blueyonder.co.uk/html/web/ssi.shtml

ok this might not help because i never worked with this before but you could still try. Open me.txt and choose "save as.." in the notepad menu. Then save as me.html

change your code to me.html instead of me.txt and see if that works

or .shtml could too. I dunno if this works but on the page above they have a code similar to that that's why:

<!--#include virtual="/footer.html" --> Includes another web page called footer.html, served from your home directory

that's why. they also have a test page, so maybe you could look at their sourcecode of that file to see how they did it :)

Love,
Mirna

mooko0_cat
03-18-2003, 03:58 PM
http://www.kurtisgod.pwp.blueyonder.co.uk/test/me.shtml

i tried other code in it but it still wont work!!! agh, gonna give up soon. i think blueyonder let everyone but me use ssi!!

pb&j
03-18-2003, 04:06 PM
a couple things to try.

first change this...
<!--#include virtual="/me.html" -->
to this...
<!--#include virtual="me.txt" -->
and if that doesn't work, try this...
<!--#include file="me.txt" -->

you will have to upload and view this online. to view it offline, you would have to install and setup a server program on your computer.

mooko0_cat
03-18-2003, 04:09 PM
ok, i tried that... still wont work!! :S sooooo annoying

mooko0_cat
03-18-2003, 04:35 PM
never mind... i will do it another way. thanku anyway. but if anyone does work out why it wont work, plese pm or email me. thankles xxxx

pb&j
03-18-2003, 07:59 PM
if you are on the "basic" plan, it looks like SSI will not work for you.

http://help.blueyonder.co.uk/html/web/tiers.shtml

mooko0_cat
03-18-2003, 09:41 PM
thanku lots i got it to work on another server. all that trouble for nothin really... :o xxx