Deploying the CGI application
This section assumes the Apache web server is used. Of course, other web servers that support CGI (nginx, cherokee) can be used, too.
Apache can be downloaded here: http://httpd.apache.org/download.cgi or installed using your distribution's package manager.
The default installation of Apache will treat all files located in its cgi-bin directory as CGI programs, so the user won't be able to access plain HTML files placed there. This directory can be set in the file httpd.conf in the following section:
Partager