Sun Java System Web Server 7.0 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 gets a request for a shell CGI file called, 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 file as follows:


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 Sun ONE Web Server.

Note –

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