To add CGI programs to the server, do one of the following:
Store the program file in a CGI directory (if any exist).
Give it a file name that the server recognizes as a CGI program and put it in any directory at or below the document root directory if CGI file type recognition has been activated.
On UNIX platforms, make sure the program file has execute permissions set.