That is, they will all use the file extensions .cgi , .exe , or .bat . The programs can be located in any directory the server can serve from. There are benefits to either implementation. If you want only a specific set of users to be able to add CGI programs, keep the CGI programs in specified directories and restrict access to those directories. If you want to allow anyone who can add HTML files to be able to add CGI programs, use the file type alternative.
Users can keep their CGI files in the same directories as their HTML files.
If you choose the directory option, your server will attempt to interpret any file you place in that directory as a CGI program. By the same token, if you choose the file type option, your server will attempt to process any files with the file extensions .cgi , .exe , or .bat as CGI programs. If a file has one of these extensions but is not a CGI program, an error occurs when a user attempts to access it. Additional information, including specific installation instructions, can be found in Chapter 6 of the product documentation. The actual report may include graphical, bar-code, some overlay, and many textual types of data.