Servertec CgiServlet
Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
Add-ons
How To
Change Log
Future Plans
Knowledge Base
Documentation
Conventions
Command Line
Administrator
Localization
Programming
Security
Performance
Deployment
Java API
Servlet API
CGI
SSI
Servlets
AdminServlet
CgiServlet
ClusterProxy
ClusterRedirector
CommandServlet
FileServlet
InvokerServlet
MessageServlet
RedirectServlet
ServletTagServlet
SSIncludeServlet
StatusServlet

Config Files
Log Files
Classes
Directory Tree
Samples
Legal
Contact Us

 

CgiServlet, implements the Common Gateway Interface (CGI).

Parameters

bindir The base directory which contains CGI scripts.

Normally ./cgi-bin.

If the path specified is a relative path then it is relative to the current virtual-host path.

exec The shell to use.

Normally c:\\windows\\command.com /c for Windows 9x/Me, c:\\windows\\system32\\cmd.exe /c for Windows XP, c:\\winnt\\system32\\cmd.exe /c for Windows NT/2000/2003 and /bin/sh for Linux/Solaris/Unix.

Aliases

Alias: /cgi-bin
Type: Servlet
Resource: CgiServlet

Servlets

Alias: CgiServlet
Class File: stec.iws.CgiServlet
Parameters: bindir=./cgi-bin
Parameters: exec=c:\windows\command.com /c

Notes

Requires that iws_dir/classes/optional.jar be present in the CLASSPATH.

Normally defined as a Servlet aliased as /cgi-bin.

Before CGI can be used Shell Access must be enabled in the Servertec Internet Server Administration - Server form.

 top of page
Copyright © 1998-2005 Servertec. All rights reserved.
Privacy Statement.
Last Modified: Sun Sep 04 14:56:49 EDT 2005