File Extensions To Be Executed As CGI Scripts
From A2Wiki
If you are having problems getting a script with an extension other than .cgi to run as a CGI script, try adding the following to your .htaccess file.
Options +ExecCGI AddHandler cgi-script cgi [extension to be run as cgi with no preceeding '.']
for example:
Options +ExecCGI AddHandler cgi-script cgi rb
