In order to enable cgi access to a directory on Xenon, a file must exist named ".htaccess" and contain the "ExecCGI" parameter on the "Options" line. Such as:
Options ExecCGI
If you already have an ".htaccess" file in the directory, edit that file and add the above option. If there is already an "Options" line in the file with other parameters, just add "ExecCGI" to the end of that line.
NOTE: All cgi-enabled directories must be inside your public_html directory. Usually the cgi-enabled directory would be called "cgi-bin" directly inside your public_html directory.
If the ".htaccess" file doesn't exist, you may follow either of the steps below to create it.
This is very easy to create using a text editor such as notepad on windows. To create this file using notepad, type the text above into a new document, and choose file...save. In the name field, type ".htaccess" including the quotation marks. Once the file has been created, it needs to be put into the directory in which you would like to enable cgi support. This can be done using SFTP or by accessing your "T" drive.
Another option is to execute the following command over SSH while you are in the directory in which you wish to enable cgi support:
echo "Options ExecCGI" > .htaccess