Chapter 11, Extending Your Server With Programs
279
Installing CGI Programs
Overview of CGI
Common Gateway Interface, or CGI, programs can be defined with any number
of programming languages. On a Unix machine, you’re likely to find CGI
programs written as Bourne shell or Perl scripts.
Note
Under Unix, there are extra CGIStub processes running that the server uses to
aid in CGI execution. These processes are created only during the first access to
a CGI. Their number varies depending upon the CGI load on the server. Do not
kill these CGIStub processes. They disappear when the server is stopped.
For more information see the discussion regarding
MinCGIStub
,
MaxCGIStub
, and
CGIStubIdleTimeout
in “CGIStub Processes (Unix),” on
page 227 in Chapter 10, “Configuring the Server for Performance.”
On a Windows NT computer, you might find CGI programs written in C++ or
batch files. For Windows NT, CGI programs written in a Windows-based
programming language such as Visual Basic use a different mechanism to
operate with the server. They are called Windows NT CGI programs. See
“Installing Windows NT CGI Programs” on page 282 for information about
Windows NT CGI.
Note
In order to run the command-line utilities, you need to manually set the
Path
variable to include
<server_root>/bin/https/bin
.
Regardless of the programming language, all CGI programs accept and return
data in the same manner. For information about writing CGI programs see the
following sources of information:
•
The Common Gateway Interface
at:
http://hoohoo.ncsa.uiuc.edu/cgi/overview.html
•
Articles about CGI available on Netscape’s DevEdge online documentation
web site at:
http://developer.netscape.com/docs/articles/index.html?content=cgi.html
There are two ways to store CGI programs on your server machine:
•
Specify a directory that contains only CGI programs. All files are run as
programs regardless of the file extensions.
Содержание Netscape Enterprise Server
Страница 30: ...Contacting Technical Support 30 Netscape Enterprise Server Administrator s Guide ...
Страница 31: ...Part 1 Server Basics 31 1 Server Basics Introduction to Enterprise Server Administering Enterprise Servers ...
Страница 32: ...32 Netscape Enterprise Server Administrator s Guide ...
Страница 56: ...Sending Error Information to Netscape 56 Netscape Enterprise Server Administrator s Guide ...
Страница 64: ...Migrating a Server From a Previous Version 64 Netscape Enterprise Server Administrator s Guide ...
Страница 66: ...66 Netscape Enterprise Server Administrator s Guide ...
Страница 112: ...Managing a Preferred Language List 112 Netscape Enterprise Server Administrator s Guide ...
Страница 158: ...158 Netscape Enterprise Server Administrator s Guide ...
Страница 182: ...Using the Watchdog uxwdog Process Unix 182 Netscape Enterprise Server Administrator s Guide ...
Страница 196: ...Viewing Events Windows NT 196 Netscape Enterprise Server Administrator s Guide ...
Страница 218: ...Enabling the Subagent 218 Netscape Enterprise Server Administrator s Guide ...
Страница 266: ...266 Netscape Enterprise Server Administrator s Guide ...
Страница 302: ...Enabling WAI Services 302 Netscape Enterprise Server Administrator s Guide ...
Страница 310: ...310 Netscape Enterprise Server Administrator s Guide ...
Страница 390: ...Customizing the Web Publisher User Interface 390 Netscape Enterprise Server Administrator s Guide ...
Страница 446: ...Customizing the Search Interface 446 Netscape Enterprise Server Administrator s Guide ...
Страница 448: ...448 Netscape Enterprise Server Administrator s Guide ...
Страница 454: ...Responses 454 Netscape Enterprise Server Administrator s Guide ...
Страница 464: ...Referencing ACL Files in obj conf 464 Netscape Enterprise Server Administrator s Guide ...
Страница 504: ...504 Netscape Enterprise Server Administrator s Guide ...