Sun Java System Web Server 7.0 Update 5 Administrator's Guide

Installing Shell CGI Programs for Windows

Overview of Shell CGI Programs for Windows

Shell CGI is a server configuration that lets you run CGI applications using the file associations set in Windows.

For example, if the server receives a request for a shell CGI file called hello.pl, the server uses the Windows file associations to run the file using the program associated with the .pl extension. If the .pl extension is associated with the program C:\\bin\\perl.exe, the server attempts to execute the hello.pl file as follows:

c:\\bin\\perl.exe hello.pl

The easiest way to configure shell CGI is to create a directory in your server’s document root that contains only shell CGI files. However, you can also configure the server to associate specific file extensions with shell CGI by editing MIME types from the Web Server.


Note –

For information on setting Windows file extensions, see Windows documentation.