Specifying Shell Cgi As A File Type (Windows Nt/Windows 2000) - Netscape ENTREPRISE SERVER 6.1 - 04-2002 ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

In the URL Prefix field, enter the URL prefix you want to associate with your
4.
shell CGI directory.
For example, suppose you store all shell CGI files in a directory called
C:/docs/programs/cgi/shell-cgi
as
yourserver[.domain.dom][:port]
http://
as the URL prefix.
shell
In the Shell CGI Directory field, enter the absolute path to the directory you
5.
created.
The server must have read and execute permissions to this directory.
CAUTION
For Windows NT/Windows 2000, the user account the server runs
as (for example,
programs in the shell CGI directory.
Make sure that any files in the shell CGI directory also have file associations set
6.
in Windows NT/Windows 2000. The server returns an error if it attempts to
run a file that has no file-extension association.
Specifying Shell CGI as a File Type (Windows
NT/Windows 2000)
You can use the Enterprise Server's MIME Types window to associate a file
extension with the shell CGI feature. This is different from creating an association
in Windows NT/Windows 2000.
To associate a file extension with the shell CGI feature in the server, for example,
you can create an association for files with the .
a request for a file with that extension, the server knows to treat the file as a shell
CGI file by calling the executable associated in Windows NT/Windows 2000 with
that file extension.
To associate a file extension as a shell CGI file, perform the following steps:
Create the shell directory on your computer. This directory doesn't have to be a
1.
subdirectory of your document root directory.
From the Server Manager, choose Server Preferences.
2.
Click the MIME Types link.
3.
Installing Shell CGI Programs for Windows NT/Windows 2000
, but you want users to see the directory
/shell/
) must have rights to read and execute
LocalSystem
pl
Chapter 13
. In this case, you would type
extension. When the server gets
Extending Your Server With Programs
305

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETSCAPE ENTREPRISE SERVER 6.1 - 04-2002 ADMINISTRATOR and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Entreprise server 6.1

Table of Contents