Installing Shell CGI Programs for Windows NT
288
Netscape Enterprise Server Administrator’s Guide
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 .
pl
extension. When
the server gets 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:
1.
Create the shell directory on your computer. This directory doesn’t have to
be a subdirectory of your document root directory.
2.
From the Server Manager, choose Server Preferences.
3.
Click the MIME Types link.
The Global MIME Types window appears. For more information on the
Global MIME Types, see the “Specifying a Default MIME Type,” on
page 317 in Chapter 13, “Managing Server Content.”
4.
Add a new MIME type with these settings:
•
Type:
type
•
Content type:
magnus-internal/shellcgi
.
•
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
for both a CGI program and a shell CGI
program. If you need to, you can edit the other MIME type fields on the
page so that the suffixes are unique.
5.
Click the New Type button.
6.
Save and apply your changes.
Содержание 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 ...