Specifying Shell Cgi As A File Type (Windows Nt) - Netscape ENTREPRISE SERVER 6.0 - ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

Specifying Shell CGI as a File Type (Windows
NT)
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.
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 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.
The Global MIME Types window appears. For more information on the Global
MIME Types, see "Choosing MIME Types," on page 155.
Add a new MIME type with these settings:
4.
Type:
type
Content type:
File Suffix: Enter the file suffixes that you want the server to associate with
shell CGI. If you activated CGI, WinCGI, and shell CGI file types, you must
specify a different suffix for each type of CGI. For example, you can't use
the suffix
.exe
need to, you can edit the other MIME type fields on the page so that the
suffixes are unique.
Click the New Type button.
5.
Save and apply your changes.
6.
magnus-internal/shellcgi
for both a CGI program and a shell CGI program. If you
Chapter 15
Installing Shell CGI Programs for Windows NT
extension. When the server gets
pl
.
Extending Your Server With Programs
353

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape management system 6.0

Table of Contents