Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
Add-ons
How To
Change Log
Future Plans
Knowledge Base
Documentation
Conventions
Users
Reference
iServer API
Servlet API
CGI
SSI
#config
#echo
#exec
#flastmod
#fsize
#include
Servlets
Config Files
Log Files
Classes
Directory Tree
Samples
Sales
Legal
Feedback
|
Used to insert the output of an executable program.
Syntax
<!-- #exec type = "command" -->
Parameters
type
|
CGI
|
Execute a Command Gateway Interface (CGI) command.
The command is a URL encoded virtual path to the executable.
Spaces are replaced by +.
Parameters appear after the command, after a ?.
Parameters are separated by &.
Parameters use the following syntax: parameter=value
|
CMD
|
Runs an executable or shell script.
The command is a physical path to the executable or shell script.
|
|
command
|
The command to execute.
|
Notes
SSIncludeServlet uses exec parameter to specify the shell command to
use and bindir to specify the base path where CGI executables are
physically located.
Before #exec directive can be used Shell Access must be enabled
in the iServer Administration - Server form.
Examples
<!-- #exec CMD = "c:\command.com /c dir" -->
|
|