Setting Up CGI on Dreamhost.com
- SSH -X -l into Dreamhost.com and cd to the domain name.
- Then create a cgi-bin directory if it doesn't already exist.
- Upload your source code and compile it.
- Put your executable in the cgi-bin directory with a CGI extension and with 755 privileges.
- You should be able to access the cgi executable with http://domain-name/cgi-bin/program.cgi
Updated June 24, 2009