[Xitami] ssi help

Robert J. DeMartini xitami@lists.xitami.org
Tue, 2 Jul 2002 14:36:27 -0700


This is a multi-part message in MIME format.

------=_NextPart_000_001F_01C221D5.D947B0A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I have emulated exactly what you did and all is working fine.
Some things to consider:

Insure that SSI is enabled by opening the Administration screen, =
clicking on Configuration, clicking on SSI, then making sure the SSI =
enabled is checked on.

I also noticed that (and it might be a typo) that below you have =
Fleece.txt as the filename but when you call it in the SSI it is =
fleece.txt so your case switching may be a problem.

-Rob


  ----- Original Message -----=20
  From: Marie180@aol.com=20
  To: xitami@lists.xitami.org=20
  Sent: Tuesday, July 02, 2002 1:24 PM
  Subject: [Xitami] ssi help


  trying to use an ssi command with xitami <!--#include =
file=3D"filename.txt" -->
  and the thing just wont work.

  My computer will recognize the .shtml extension as a webpage and read =
that page correctly, but whatever file I included does not show up.

  Example - marylamb.shtml looks like this:
  <html>
  <head><title>Mary's lamb</title></head>
  <body>
  Mary had a little lamb, it's <!--#include file=3D"fleece.txt" --> as =
snow.
  </body>
  </html>

  Fleece.txt looks like this:
  fleece was white

  But whenever I open marylamb.shtml it just says
  Mary had a little lamb, its as snow.

  Both files are in my 'webpages' directory.
  Is there some option in xitami that I need to turn on in order to make =
ssi work?=20

------=_NextPart_000_001F_01C221D5.D947B0A0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I have emulated exactly what you did =
and all is=20
working fine.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Some things to consider:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Insure that SSI is enabled by opening =
the=20
Administration screen, clicking on Configuration, clicking on SSI, then =
making=20
sure the SSI enabled is checked on.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I also noticed that (and it might be a =
typo) that=20
below you have Fleece.txt as the filename but when you call it in the =
SSI it is=20
fleece.txt so your case switching may be a problem.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>-Rob</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT><BR></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3DMarie180@aol.com =
href=3D"mailto:Marie180@aol.com">Marie180@aol.com</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dxitami@lists.xitami.org=20
  href=3D"mailto:xitami@lists.xitami.org">xitami@lists.xitami.org</A> =
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, July 02, 2002 =
1:24=20
PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [Xitami] ssi =
help</DIV>
  <DIV><BR></DIV><FONT face=3Darial,helvetica><FONT lang=3D0 =
face=3DArial size=3D2=20
  FAMILY=3D"SANSSERIF">trying to use an ssi command with xitami =
&lt;!--#include=20
  file=3D"filename.txt" --&gt;<BR>and the thing just wont =
work.<BR><BR>My computer=20
  will recognize the .shtml extension as a webpage and read that page =
correctly,=20
  but whatever file I included does not show up.<BR><BR>Example - =
marylamb.shtml=20
  looks like this:<BR>&lt;html&gt;<BR>&lt;head&gt;&lt;title&gt;Mary's=20
  lamb&lt;/title&gt;&lt;/head&gt;<BR>&lt;body&gt;<BR>Mary had a little =
lamb,=20
  it's &lt;!--#include file=3D"fleece.txt" --&gt; as=20
  snow.<BR>&lt;/body&gt;<BR>&lt;/html&gt;<BR><BR>Fleece.txt looks like=20
  this:<BR>fleece was white<BR><BR>But whenever I open marylamb.shtml it =
just=20
  says<BR>Mary had a little lamb, its as snow.<BR><BR>Both files are in =
my=20
  'webpages' directory.<BR>Is there some option in xitami that I need to =
turn on=20
  in order to make ssi work?</FONT> </FONT></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_001F_01C221D5.D947B0A0--