Your entire virtual server is scriptable and is in essence a cgi-bin folder. If you wish to create a specific folder for your scripts feel free to create a folder and copy your cgi-bin applications into it. You can name this folder anything you like and some common choices are: cgi-bin, cgi, scripts, and so forth.
If you plan to use perl scripts you’ll want to end them with a .cgi or .pl. extension. PHP scripts are ended with a .php, ASP scripts with .asp, and ASP.NET end with .aspx
Content retrieved from: https://support.appliedi.net/kb/a348/wheres-my-cgi-bin-scripts-folder.aspx.