Installing CGI Programs
Chapter
15
Extending Your Server With Programs
347
5.
In the CGI Directory text field, type
the directory to chdir to after chroot but before
execution begins.
6.
(Unix only) In the CGI Nice text field, type
an increment that determines the CGI
program’s priority relative to the server. Typically, the server is run with a nice value of
0 and the nice increment would be between 0 (the CGI program runs at same priority as
server) and 19 (the CGI program runs at much lower priority than server). While it is
possible to increase the priority of the CGI program above that of the server by
specifying a nice increment of -1, this is not recommended.
7.
In the Chroot Directory text field, type
the directory to chroot to before execution
begins.
8.
Click OK.
9.
Save and apply your changes.
Specifying CGI as a File Type
To specify CGI programs as a file type, perform the following steps:
1.
From the Class Manager, choose the Programs tab.
2.
Click the CGI File Type page.
The CGI as a File Type window appears.
3.
From the Editing picker, choose the resource you want this change to apply to.
4.
Click the Yes radio button under Activate CGI as a File Type.
5.
Click OK.
6.
Save and apply your changes.
The CGI files must have the file extensions
.bat
,
.exe
, or
.cgi
. Any non-CGI files
with those extensions are processed by your server as CGI files, causing errors.
Downloading Executable Files
If you’re using
.exe
as a CGI file type, you cannot download
.exe
files as
executables.
One solution to this problem is to compress the executable files that you want users
to be able to download, so that the extension is not
.exe
. This solution has the
added benefit of making the download time shorter.
Summary of Contents for NETSCAPE ENTREPRISE SERVER 6.0 - ADMINISTRATOR
Page 1: ...Administrator s Guide Netscape Enterprise Server Version6 0 November 2001...
Page 18: ...18 Netscape Enterprise Server Administrator s Guide November 2001...
Page 26: ...26 Netscape Enterprise Server Administrator s Guide November 2001...
Page 48: ...Migrating a Server 48 Netscape Enterprise Server Administrator s Guide November 2001...
Page 50: ...50 Netscape Enterprise Server Administrator s Guide November 2001...
Page 146: ...146 Netscape Enterprise Server Administrator s Guide November 2001...
Page 242: ...242 Netscape Enterprise Server Administrator s Guide November 2001...
Page 294: ...294 Netscape Enterprise Server Administrator s Guide November 2001...
Page 332: ...Deleting a Virtual Server 332 Netscape Enterprise Server Administrator s Guide November 2001...
Page 378: ...378 Netscape Enterprise Server Administrator s Guide November 2001...
Page 396: ...Responses 396 Netscape Enterprise Server Administrator s Guide November 2001...
Page 414: ...Posting to JSPs 414 Netscape Enterprise Server Administrator s Guide November 2001...
Page 432: ...Further Information 432 Netscape Enterprise Server Administrator s Guide November 2001...
Page 444: ...444 Netscape Enterprise Server Administrator s Guide November 2001...