Novell NETWARE 6-DOCUMENTATION Manual page 2027

Table of Contents

Advertisement

Installing CGI Programs
98
Getting Results with Novell Web Services
Each type of program is installed onto the server differently. The following list
summarizes the procedures:
For CGI programs, configure your server to recognize certain files as
CGI-all files with certain filename extensions or all files in specified
directories.
For JavaScript applications, check in each application individually
through the Application Manager, which you can access from the
Programs form or separately.
These installation instructions are described in the following sections.
Common Gateway Interface (CGI) programs can be created with any number
of programming languages. On a UNIX* machine, you're likely to find CGI
programs written as Bourne shell or PERL scripts. On a Windows computer,
you might find CGI programs written in C++ or batch files. On NetWare
you might find CGI programs written in NetBasic*, PERL, Novell Script for
NetWare (NSN), or LCGI NLM
Regardless of the programming language, all CGI programs accept and return
data in the same manner.
There are two ways to store CGI programs on your server:
1. Specify a directory that contains only CGI programs. All files are run as
programs regardless of the file extensions.
2. Specify that CGI programs are all a certain file type. They will all use the
file extensions .CGI, .EXE, .NLM, or .BAT. The programs can be located
in any directory that the server can serve from.
There are benefits to either implementation. If you want only a specific set of
users to be able to add CGI programs, keep the CGI programs in specified
directories and restrict access to those directories. If you want to allow anyone
who can add HTML files to be able to add CGI programs, use the file type
alternative. Users can keep their CGI files in the same directories as their
HTML files.
If you choose the directory option, your server will attempt to interpret any file
you place in that directory as a CGI program. Similarly, if you choose the file
type option, your server will attempt to process any files with the file
extensions .CGI, .EXE, .NLM, or .BAT as CGI programs. If a file has one of
these extensions but is not a CGI program, an error occurs when a user
attempts to access it.
applications.
TM
®
,

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netware 6

Table of Contents