Installing CGI Programs
346
Netscape Enterprise Server Administrator’s Guide • November 2001
Specifying a CGI Directory
To specify a CGI-only directory for a class of virtual servers, perform the following
steps:
1.
From the Class Manager, choose the Programs tab.
The CGI Directory window appears.
2.
In the URL Prefix field, type the URL prefix to use for this directory. That is, the
text you type appears as the directory for the CGI programs in URLs.
For example, if you type
cgi-bin
as the URL prefix, then all URLs to these CGI
programs have the following structure:
http://
yourserver.domain.com
/cgi-bin/
program-name
3.
In the CGI Directory text field, type the location of the directory as an absolute
path. Note that this directory doesn’t have to be under your document root.
This is the reason that you need to specify a URL prefix in the next step.
4.
Click OK.
5.
Save and apply your changes.
To remove an existing CGI directory, click that directory’s Remove button in the
CGI Directory form. To change the URL prefix or CGI directory of an existing
directory, click that directory’s Edit button.
Copy your CGI programs into the directories you’ve specified. Remember that any
files in those directories will be processed as CGI files, so don’t put HTML files in
your CGI directory.
Configuring Unique CGI Attributes for Each Software Virtual Server
To specify CGI attributes for a single virtual server, perform the following steps:
1.
From the Class Manager, choose the Manager Virtual Servers button.
2.
From the Virtual Server Manager, choose the Settings tab.
3.
In the CGI User text field, type
the name of the user to execute CGI programs as.
4.
In the CGI Group text field, type
the name of the group to execute CGI programs as.
NOTE
The URL prefix you specify can be different from the real CGI
directory you specify in the previous step.
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...