[Xitami] can't run "exec" from shtml
Jim Brown
xitami@lists.xitami.org
Fri, 10 Aug 2001 14:55:51 -0400
Hi Jill,
Are you running any other CGI's successfully??? If not I'd check that
you enabled the ENV variable SSI_INSECURE or config...
[Security]
Ssi_insecure=yes
Ref: http://www.imatix.com/html/xitami/index6.htm#TOC64
> #exec cmd="command"
>
> Executes a native command and includes the output of this command. Note that
> the command runs in the main Xitami directory. This SSI command - which is a
> potential security risk for your system - is only accepted if the environment
> variable SSI_INSECURE is set to 'yes'. (Under Windows NT, in the System Control
> Panel, under 'Environment'; under Windows 95 by adding 'SET SSI_INSECURE=yes'
> to the autoexec.bat.)
Best Regards,
Jim
------------- Original message text ------------------
Date: Friday, August 10, 2001 2:19:10 PM -0500
From: Jill Heske <jheske@atl.mindspring.com>
To:
CC:
Subject: [Xitami] can't run "exec" from shtml
Files: <none>
I have an index.shtml file in my default webpages dir. It contains one
line:
<!--#exec cmd="./cgi-bin/ip2block.exe"-->
I know ip2block.exe is accessible and works. I can run it directly from my
browser. I have even tried a full reference to the exe
<!--#exec cmd="http://192.x.x.x/cgi-bin/ip2block.exe"-->
In every case I get the same response
p>[xitami SSI Error: ]
which I recognize as Xitami's default SSI error message. However, the %s is
blank (no error message). The access log shows the file being accessed
successfully, and the error log shows nothing.
Anyone know how to track down this problem? Thanks very much.
Jill
--
Xitami Users Mailing List -- For Xitami support
To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami