[Xitami] #exec

Torsten Toepler xitami@lists.xitami.org
Thu, 6 Dec 2001 09:01:52 +0100


This is a multi-part message in MIME format.

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

Hi!
Surely it's a question of the used version.
As far as I know the SSI-functionallity is included since version 2.5.
I use version 2.5b4 and the option is available exactly as Marcio =
describes it.
The best solution would be  to update your Xitami.
Otherwise you have to add to the filter-section of your defaults.cfg =
file:

   [Filter]
       shtml=3Dperlssi               #   Parse files with .shtml =
extension and pass it to perlssi which is a "FakeSSI"

and further the doku says:

#   The exec cmd=3D tag is only recognised if you set the environment =
variable
#   "SSI_INSECURE=3Dyes", in your autoexec.bat or system environment =
(for NT).



Best regards

Torsten

  ----- Original Message -----=20
  From: Joe@ByrneWorld.com=20
  To: xitami@lists.xitami.org=20
  Sent: Thursday, December 06, 2001 4:07 AM
  Subject: Re: [Xitami] #exec


  Ok Marcio, I have followed your directions.  The configuration screen =
does not have SSI on it anywhere.  The toolbar at the top reads:
  =20
  Errors  WSX  Filters  Aliases Vhosts CGI Security Logging FTP MIME.
  =20
  I looked in each one of these and there are no settings for SSI.  I am =
using the Windows version if that makes a difference.  I'm not afraid of =
directly editing files if I know which one(s) to edit, but I would =
prefer the interface if it was available.
  =20
  --Joe
    ----- Original Message -----=20
    From: Marcio Marchini=20
    To: xitami@lists.xitami.org=20
    Sent: Wednesday, December 05, 2001 8:52 PM
    Subject: RE: [Xitami] #exec


    1) use the web interface as I said, don't play with individual files
    2) follow the links as I said, you will end up in the SSI config =
screen. you will click on "Configuration" on the 1st screen, and then on =
SSI on the 2nd screen (text toolbar at the top)
    =20
    The impression I get from your message is that you did not get to =
the SSI screen in your web browser.
    =20
    marcio
      -----Original Message-----
      From: xitami-admin@lists.xitami.org =
[mailto:xitami-admin@lists.xitami.org]On Behalf Of Joe@ByrneWorld.com
      Sent: December 5, 2001 6:39 PM
      To: xitami@lists.xitami.org
      Subject: Re: [Xitami] #exec


      Thanks for the reply.  I don't have any settings for SSI.  Is =
there an .ini file setting I should use, or is this setting on someplace =
other than the main Configuration screen?
      =20
      I'm running version 2.4d9
      =20
      --
      Joe
        ----- Original Message -----=20
        From: Marcio Marchini=20
        To: xitami@lists.xitami.org=20
        Sent: Wednesday, December 05, 2001 8:33 AM
        Subject: RE: [Xitami] #exec


        http://localhost/admin
        =20
        Click Configuration
        =20
        Click SSI
        =20
        Make sure SSI is enabled.
        =20
        marcio
        =20
          -----Original Message-----
          From: xitami-admin@lists.xitami.org =
[mailto:xitami-admin@lists.xitami.org]On Behalf Of Joe@ByrneWorld.com
          Sent: December 4, 2001 11:39 PM
          To: Imatix
          Subject: [Xitami] #exec


          I am trying to use an HTML tag such as:  =
<!--#EXEC=3D/CGI/WHATever....-->   I have been told that I need to "turn =
on" the #exec feature in my web server.  I have poured through the =
xitami documentation as well as I can, but I don't see where/how I turn =
this on so I can use the #exec command.
          =20
          Any help?
          =20
          TIA!
          --Joe

------=_NextPart_000_0020_01C17E34.A574A9D0
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 content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3315.2870" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Surely it's a question of the used=20
version.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>As far as I know the SSI-functionallity =
is included=20
since version 2.5.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>I use version 2.5b4 and the option is =
available=20
exactly as&nbsp;Marcio describes it.</FONT></DIV></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The best solution would be &nbsp;to =
update your=20
Xitami.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Otherwise you have to&nbsp;add to the=20
filter-section of your defaults.cfg file:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;=20
[Filter]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
shtml=3Dperlssi&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;=20
#&nbsp;&nbsp; Parse files with .shtml extension and pass it to perlssi =
which is=20
a "FakeSSI"</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>and further the doku says:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>#&nbsp;&nbsp; The exec cmd=3D tag is =
only recognised=20
if you set the environment variable<BR>#&nbsp;&nbsp; =
"SSI_INSECURE=3Dyes", in your=20
autoexec.bat or system environment (for NT).<BR></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Best regards</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Torsten</FONT></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-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 href=3D"mailto:Joe@ByrneWorld.com"=20
  title=3DJoe@ByrneWorld.com>Joe@ByrneWorld.com</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
  href=3D"mailto:xitami@lists.xitami.org"=20
  title=3Dxitami@lists.xitami.org>xitami@lists.xitami.org</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, December 06, =
2001 4:07=20
  AM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: [Xitami] =
#exec</DIV>
  <DIV><BR></DIV>
  <DIV><FONT size=3D2>Ok Marcio, I have followed your directions.&nbsp; =
The=20
  configuration screen does not have SSI on it anywhere.&nbsp; The =
toolbar at=20
  the top reads:</FONT></DIV>
  <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT size=3D2>Errors&nbsp; WSX&nbsp; Filters&nbsp; Aliases =
Vhosts CGI=20
  Security Logging FTP MIME.</FONT></DIV>
  <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT size=3D2>I looked in each one of these and there are no =
settings for=20
  SSI.&nbsp; I am using the Windows version if that makes a =
difference.&nbsp;=20
  I'm not afraid of directly editing files if I know which one(s) to =
edit, but I=20
  would prefer the interface if it was available.</FONT></DIV>
  <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT size=3D2>--Joe</FONT></DIV>
  <BLOCKQUOTE dir=3Dltr=20
  style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; =
MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-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 href=3D"mailto:mqm@magma.ca" title=3Dmqm@magma.ca>Marcio =
Marchini</A> </DIV>
    <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
    href=3D"mailto:xitami@lists.xitami.org"=20
    title=3Dxitami@lists.xitami.org>xitami@lists.xitami.org</A> </DIV>
    <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Wednesday, December 05, =
2001 8:52=20
    PM</DIV>
    <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE: [Xitami] =
#exec</DIV>
    <DIV><BR></DIV>
    <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D775574702-06122001>1)=20
    use the web interface as I said, don't play with individual=20
    files</SPAN></FONT></DIV>
    <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D775574702-06122001>2)=20
    follow the links as I said, you will end up in the SSI config =
screen. you=20
    will click on "Configuration" on the 1st screen, and then on SSI on =
the 2nd=20
    screen (text toolbar at the top)</SPAN></FONT></DIV>
    <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
    class=3D775574702-06122001></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
    class=3D775574702-06122001>The impression I get from your message is =
that you=20
    did not get to the SSI screen in your web =
browser.</SPAN></FONT></DIV>
    <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
    class=3D775574702-06122001></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
    class=3D775574702-06122001>marcio</SPAN></FONT></DIV>
    <BLOCKQUOTE dir=3Dltr=20
    style=3D"BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; =
MARGIN-RIGHT: 0px; PADDING-LEFT: 5px">
      <DIV class=3DOutlookMessageHeader><FONT face=3D"Times New Roman"=20
      size=3D2>-----Original Message-----<BR><B>From:</B>=20
      xitami-admin@lists.xitami.org =
[mailto:xitami-admin@lists.xitami.org]<B>On=20
      Behalf Of</B> Joe@ByrneWorld.com<BR><B>Sent:</B> December 5, 2001 =
6:39=20
      PM<BR><B>To:</B> xitami@lists.xitami.org<BR><B>Subject:</B> Re: =
[Xitami]=20
      #exec<BR><BR></FONT></DIV>
      <DIV><FONT size=3D2>Thanks for the reply.&nbsp; I don't have any =
settings=20
      for SSI.&nbsp; Is there an .ini file setting I should use, or is =
this=20
      setting on someplace other than the main Configuration=20
screen?</FONT></DIV>
      <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
      <DIV><FONT size=3D2>I'm running version 2.4d9</FONT></DIV>
      <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
      <DIV><FONT size=3D2>--</FONT></DIV>
      <DIV><FONT size=3D2>Joe</FONT></DIV>
      <BLOCKQUOTE dir=3Dltr=20
      style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; =
MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-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 href=3D"mailto:mqm@magma.ca" title=3Dmqm@magma.ca>Marcio =
Marchini</A>=20
        </DIV>
        <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
        href=3D"mailto:xitami@lists.xitami.org"=20
        title=3Dxitami@lists.xitami.org>xitami@lists.xitami.org</A> =
</DIV>
        <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Wednesday, December =
05, 2001=20
        8:33 AM</DIV>
        <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE: [Xitami] =
#exec</DIV>
        <DIV><FONT color=3D#0000ff face=3DArial =
size=3D2></FONT><BR></DIV>
        <DIV><FONT color=3D#0000ff face=3DArial size=3D2><A=20
        =
href=3D"http://localhost/admin">http://localhost/admin</A></FONT></DIV>
        <DIV><FONT color=3D#0000ff face=3DArial =
size=3D2></FONT>&nbsp;</DIV>
        <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
        class=3D793432914-05122001>Click =
Configuration</SPAN></FONT></DIV>
        <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
        class=3D793432914-05122001></SPAN></FONT>&nbsp;</DIV>
        <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
        class=3D793432914-05122001>Click SSI</SPAN></FONT></DIV>
        <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
        class=3D793432914-05122001></SPAN></FONT>&nbsp;</DIV>
        <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
        class=3D793432914-05122001>Make sure SSI is =
enabled.</SPAN></FONT></DIV>
        <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
        class=3D793432914-05122001></SPAN></FONT>&nbsp;</DIV>
        <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
        class=3D793432914-05122001>marcio</SPAN></FONT></DIV>
        <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
        class=3D793432914-05122001></SPAN></FONT>&nbsp;</DIV>
        <BLOCKQUOTE dir=3Dltr=20
        style=3D"BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; =
MARGIN-RIGHT: 0px; PADDING-LEFT: 5px">
          <DIV class=3DOutlookMessageHeader><FONT face=3D"Times New =
Roman"=20
          size=3D2>-----Original Message-----<BR><B>From:</B> <A=20
          =
href=3D"mailto:xitami-admin@lists.xitami.org">xitami-admin@lists.xitami.o=
rg</A>=20
          [mailto:xitami-admin@lists.xitami.org]<B>On Behalf Of</B> <A=20
          =
href=3D"mailto:Joe@ByrneWorld.com">Joe@ByrneWorld.com</A><BR><B>Sent:</B>=
=20
          December 4, 2001 11:39 PM<BR><B>To:</B> =
Imatix<BR><B>Subject:</B>=20
          [Xitami] #exec<BR><BR></FONT></DIV>
          <DIV><FONT size=3D2>I am trying to use an HTML tag such =
as:&nbsp;=20
          &lt;!--#EXEC=3D/CGI/WHATever....--&gt;&nbsp;&nbsp; I have been =
told that=20
          I need to "turn on" the #exec feature in my web server.&nbsp; =
I have=20
          poured through the xitami documentation as well as I can, but =
I don't=20
          see where/how I turn this on so I can use the #exec=20
          command.</FONT></DIV>
          <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
          <DIV><FONT size=3D2>Any help?</FONT></DIV>
          <DIV><FONT size=3D2></FONT>&nbsp;</DIV>
          <DIV><FONT size=3D2>TIA!</FONT></DIV>
          <DIV><FONT=20
  =
size=3D2>--Joe</FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCK=
QUOTE></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0020_01C17E34.A574A9D0--