This page allows you to specify a directory that will hold only CGI programs.

You can also edit and remove current CGI directory mappings. CGI programs are an excellent way to extend the capabilities of your server. However, they can also be somewhat of a security risk; you may want to be able to keep tabs on all of them in one directory.

Alternately, you can activate CGI as a file type for part of your server. If you do this, then any files with the .cgi extension will be interpreted by the server as a CGI program. This allows you to keep your CGI programs next to the HTML files they may affect.


You should enter a URL prefix that you want to remap to a CGI directory. For example, you may use the URL prefix cgi-bin, which means your URLs will be of the form http://yourserver.subdomain.dom/cgi-bin/program. Next, you should choose the directory you want that URL prefix to map to. It should be a full system path. In the example above, the directory might be /var/netsite/cgi-bin.