Need Assistance? 24/7 Customer Support

Sales: 877-215-4678

HostMySite Blog

 
CGI SCRIPTS ON WEBSITE

Where do I place cgi scripts within my website?

Please note: This support article is a guide for our Linux users only.

When connecting to your website folder through SSH or FTP, you will see a folder called cgi-bin. Place all of your cgi scripts within this folder. The cgi-bin folder is configured on the server to allow proper execution of your scripts. When you upload files to your website, remember to place all of your cgi scripts within the cgi-bin folder. They will not execute properly if they are inside the htdocs folder.