To create a directory for your shell CGI files, perform the following steps.
Create the shell directory on your computer. This directory does not have to be a subdirectory of your document root directory.
From the Home page, select the virtual server and then go to the Edit Virtual Server>Content Handling>CGI (sub tab).
In the CGI directories table, click New.
A new window appears.
In the URL Prefix field, enter the URL prefix you want to associate with your shell CGI directory.
For example, suppose you store all shell CGI files in a directory called C:\docs\programs\cgi\shell-cgi, but you want users to see the directory as http://www.yourserver.com/shell/. In this case, you would type shell as the URL prefix.
In the Directory field, enter the absolute path to the directory you created.
The server must have read and execute permissions to this directory. For Windows, the user account the server runs as (for example, LocalSystem) must have rights to read and execute programs in the shell CGI directory.
Select the CGI or Shell CGI option.
Make sure that any files in the shell CGI directory also have file associations set in Windows. The server returns an error if it attempts to run a file that has no file-extension association.