loader

I have installed a CGI script and it does not work Print

  • 6

Almost 9 times out of 10 it is because of file and directory permissions. The "cgi-bin" folder has to have it's permissions set at 755. All .cgi and .pl files must also be set to a 755 permission level. When you create or upload a file to the cgi-bin folder it will have a permission level of 644. This is fine for "html" files and pictures and attachements but it will stop you dead in your tracks if you leave it that way for a .cgi or .pl file. Be sure to change the .cgi or .pl file to 755 before you do anything else and it will probably work the first time you try it.

.cgi and .pl files also won't work in any other folder but the cgi-bin folder.

If you don't know how to set these permissions for a file or folder then there are 2 ways to do it. One is to use your FTP program and the other way is to use our DirectAdmin control panel's "File Manager" to do it.

Was this answer helpful?

« Back