The cgi-bin directory is the standard name and location for a script aliased directory. This means that anything in the cgi-bin directory is run when the file is accessed and doesn't require a file name extension to specify it's a CGI script.