~/public_html is served at http://dev.host/~USER/
This directory is not created for you. Once it is created, you will be listed
on the homepage.
The server is apache. ExecCGI is enabled. Full .htaccess overrides are enabled.
mod_rewrite is available.
mod_cgi, mod_php5, and mod_wsgi are installed.
Add the following to .htaccess:
AddHandler cgi-script .cgi
This tells apache what to do with .cgi files, and sets index.cgi as the index
page for the directory.
Add the following to index.cgi: