[Xitami] #exec
Marcio Marchini
xitami@lists.xitami.org
Wed, 5 Dec 2001 22:56:32 -0500
This is a multi-part message in MIME format.
------=_NextPart_000_0003_01C17DE0.14F1ECF0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Interesting... Mine reads like this:
Aliases Errors SSI MIMEs WSX Filters DDNS Advanced Server Vhosts CGI
Security Logging FTP
The same screen says I have Xitami v2.5b1 even though I downloaded the b4.
You shouild tweak c:\xitami\defaults.cfg, based on c:\xitami\xitami.cfg.
Don't change c:\xitami\xitami.cfg
This is what I have in mine, for example:
[Cgi]
Dirlist = "1"
Form-query = "1"
[Filter]
.php = "c:\\php\\php.exe"
.php3 = "c:\\php\\php.exe"
.pl = "c:\\perl\\bin\\perl.exe"
[Mime]
.php=application/x-httpd-php
.php3=application/x-httpd-php3
.pl=application/x-httpd-perl
[Ftp]
Enabled = "0"
[Security]
Filename = "defaults.aut"
[Server]
Autostart = "1"
Priority = "2"
Recover = "1"
[Win32]
16bit-cgi = "1"
And this is what you can override in it about SSI: (note the exec=0 by
default)
# ------------------------------------------------------------------------
-
# SSI configuration section
#
# This section controls Xitami's built-in server-side includes (SSI)
# handling.
[Ssi]
# Lets you enable/disable SSI handling.
enabled=1
# Specifies the format for times shown by SSI pages.
timefmt=%A, %d-%b-%y %H:%M:%S %Z
# Specifies whether size should be shown as bytes or as
# abbreviations (Kb, Mg). Anything other than the string "bytes" is
# taken to mean that sizes are shown as abbreviations.
sizefmt=bytes
# The timeout for CGI programs called from the SSI agent.
timeout=30
# Error message shown when an SSI command fails. The %s symbol is
# replaced by the cause of the problem.
errmsg=<p>[xitami SSI: %s]
# If 1, allows CGIs to be executed using the #exec command. Since
# this is a security weakness, this option is switched-off by
# default.
exec=0
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 10:07 PM
To: xitami@lists.xitami.org
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:
Errors WSX Filters Aliases Vhosts CGI Security Logging FTP MIME.
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.
--Joe
----- Original Message -----
From: Marcio Marchini
To: xitami@lists.xitami.org
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)
The impression I get from your message is that you did not get to the
SSI screen in your web browser.
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?
I'm running version 2.4d9
--
Joe
----- Original Message -----
From: Marcio Marchini
To: xitami@lists.xitami.org
Sent: Wednesday, December 05, 2001 8:33 AM
Subject: RE: [Xitami] #exec
http://localhost/admin
Click Configuration
Click SSI
Make sure SSI is enabled.
marcio
-----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=/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.
Any help?
TIA!
--Joe
------=_NextPart_000_0003_01C17DE0.14F1ECF0
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.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3D751075003-06122001><FONT face=3DArial color=3D#0000ff =
size=3D2>Interesting... Mine reads like this:</FONT></SPAN></DIV>
<DIV><SPAN class=3D751075003-06122001><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV><SPAN class=3D751075003-06122001>
<DIV>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%">
<TBODY>
<TR>
<TD align=3Dleft><FONT size=3D-1><A=20
href=3D"javascript:subconf('~A2.0','')">Aliases</A> <A=20
href=3D"javascript:subconf('~A23.0','')">Errors</A> <A=20
href=3D"javascript:subconf('~A60.0','')">SSI</A> <A=20
href=3D"javascript:subconf('~A38.0','')">MIMEs</A> <A=20
href=3D"javascript:subconf('~A66.0','')">WSX</A> <A=20
href=3D"javascript:subconf('~A26.0','')">Filters</A> <A=20
href=3D"javascript:subconf('~A13.0','')">DDNS</A> <A=20
href=3D"javascript:subconf('~A1.0','')">Advanced</A> </FONT>
<TD align=3Dright><FONT size=3D-1><EM>Server</EM> <A=20
href=3D"javascript:subconf('~A64.0','')">Vhosts</A> <A=20
href=3D"javascript:subconf('~A5.0','')">CGI</A> <A=20
href=3D"javascript:subconf('~A50.0','')">Security</A> <A=20
href=3D"javascript:subconf('~A35.0','')">Logging</A> <A=20
href=3D"javascript:subconf('~A28.0','')">FTP</A>=20
</FONT></TD></TR></TBODY></TABLE></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT> </DIV>
<DIV><FONT size=3D2><SPAN class=3D751075003-06122001>The same screen =
says I have=20
</SPAN>Xitami v2.5b1 <SPAN class=3D751075003-06122001>even though I =
downloaded the b4.</SPAN></FONT></DIV>
<DIV><FONT size=3D2><SPAN =
class=3D751075003-06122001></SPAN></FONT> </DIV>
<DIV><FONT size=3D2><SPAN class=3D751075003-06122001>You shouild tweak=20
c:\xitami\defaults.cfg, based on c:\xitami\xitami.cfg. Don't change=20
c:\xitami\xitami.cfg</SPAN></FONT></DIV>
<DIV><FONT size=3D2><SPAN =
class=3D751075003-06122001></SPAN></FONT> </DIV>
<DIV><FONT size=3D2><SPAN class=3D751075003-06122001>This is what I have =
in mine,=20
for example:</SPAN></FONT></DIV>
<DIV><FONT size=3D2><SPAN =
class=3D751075003-06122001></SPAN></FONT> </DIV><SPAN=20
class=3D751075003-06122001>
<DIV><BR><FONT size=3D2>[Cgi]<BR> Dirlist =3D=20
"1"<BR> Form-query =3D "1"</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>[Filter]<BR> .php =3D=20
"c:\\php\\php.exe"<BR> .php3 =3D=20
"c:\\php\\php.exe"<BR> .pl =3D=20
"c:\\perl\\bin\\perl.exe"</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>[Mime] <BR>.php=3Dapplication/x-httpd-php=20
<BR>.php3=3Dapplication/x-httpd-php3 <BR>.pl=3Dapplication/x-httpd-perl=20
</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><BR><FONT size=3D2>[Ftp]<BR> Enabled =3D =
"0"</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>[Security]<BR> Filename =3D=20
"defaults.aut"</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>[Server]<BR> Autostart =3D=20
"1"<BR> Priority =3D "2"<BR> Recover =
=3D=20
"1"</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>[Win32]<BR> 16bit-cgi =3D =
"1"<BR></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D751075003-06122001> And this is what you can =
override in=20
it about SSI: (note the exec=3D0 by default)</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D751075003-06122001></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2># =20
-------------------------------------------------------------------------=
<BR># =20
SSI configuration section<BR>#<BR># This section controls =
Xitami's=20
built-in server-side includes (SSI) <BR># handling. =
</FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2>[Ssi]<BR># =
Lets you=20
enable/disable SSI handling. </FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2> =20
enabled=3D1</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2># Specifies =
the format=20
for times shown by SSI pages. </FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2> =
timefmt=3D%A,=20
%d-%b-%y %H:%M:%S %Z</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2># Specifies =
whether size=20
should be shown as bytes or as <BR># abbreviations (Kb, Mg). =
Anything other than the string "bytes" is <BR># taken to =
mean that=20
sizes are shown as abbreviations. </FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2> =20
sizefmt=3Dbytes</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2># The =
timeout for CGI=20
programs called from the SSI agent. </FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2> =20
timeout=3D30</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2># Error =
message shown=20
when an SSI command fails. The %s symbol is <BR># replaced =
by the=20
cause of the problem. </FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2> =20
errmsg=3D<p>[xitami SSI: %s]</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2># If 1, =
allows CGIs to be=20
executed using the #exec command. Since <BR># this is a =
security=20
weakness, this option is switched-off by <BR># default.=20
</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2> =20
exec=3D0</FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT> </DIV></SPAN>
<DIV><FONT size=3D2><SPAN=20
class=3D751075003-06122001>marcio</SPAN></FONT></DIV></SPAN>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
<DIV class=3DOutlookMessageHeader><FONT size=3D2>-----Original=20
Message-----<BR><B>From:</B> xitami-admin@lists.xitami.org=20
[mailto:xitami-admin@lists.xitami.org]<B>On Behalf Of</B>=20
Joe@ByrneWorld.com<BR><B>Sent:</B> December 5, 2001 10:07 =
PM<BR><B>To:</B>=20
xitami@lists.xitami.org<BR><B>Subject:</B> Re: [Xitami]=20
#exec<BR><BR></FONT></DIV>
<DIV><FONT size=3D2>Ok Marcio, I have followed your directions. =
The=20
configuration screen does not have SSI on it anywhere. The =
toolbar at=20
the top reads:</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Errors WSX Filters Aliases =
Vhosts CGI=20
Security Logging FTP MIME.</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>I looked in each one of these and there are no =
settings for=20
SSI. I am using the Windows version if that makes a =
difference. =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> </DIV>
<DIV><FONT size=3D2>--Joe</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=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=3Dmqm@magma.ca href=3D"mailto:mqm@magma.ca">Marcio =
Marchini</A> </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> 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 face=3DArial color=3D#0000ff 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 face=3DArial color=3D#0000ff 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 face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D775574702-06122001></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff 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 face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D775574702-06122001></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D775574702-06122001>marcio</SPAN></FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff =
2px solid; MARGIN-RIGHT: 0px">
<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. I don't have any =
settings=20
for SSI. 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> </DIV>
<DIV><FONT size=3D2>I'm running version 2.4d9</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>--</FONT></DIV>
<DIV><FONT size=3D2>Joe</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=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=3Dmqm@magma.ca href=3D"mailto:mqm@magma.ca">Marcio =
Marchini</A>=20
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
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> Wednesday, December =
05, 2001=20
8:33 AM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE: [Xitami] =
#exec</DIV>
<DIV><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT><BR></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><A=20
=
href=3D"http://localhost/admin">http://localhost/admin</A></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D793432914-05122001>Click =
Configuration</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D793432914-05122001></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D793432914-05122001>Click SSI</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D793432914-05122001></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D793432914-05122001>Make sure SSI is =
enabled.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D793432914-05122001></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D793432914-05122001>marcio</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20
class=3D793432914-05122001></SPAN></FONT> </DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: =
#0000ff 2px solid; MARGIN-RIGHT: 0px">
<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: =20
<!--#EXEC=3D/CGI/WHATever....--> I have been =
told that=20
I need to "turn on" the #exec feature in my web server. =
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> </DIV>
<DIV><FONT size=3D2>Any help?</FONT></DIV>
<DIV><FONT size=3D2></FONT> </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_0003_01C17DE0.14F1ECF0--