What is cgi-bin?

In the most basic of terms, CGI or Common Gateway Interface is the process for scripts to communicate with your hosting server. The folder for CGI scripts is what we call the cgi-bin. It is created in the directory root of your website and where your scripts are permitted to run or execute. The cgi-bin folder will store the scripts such as Perl (.pl) that your website will use. For these scripts to run, the permissions of the cgi-bin folder and the scripts within it should all be set to 0755.

Was this article helpful?

Related Articles