- Home » kb
CGI scripts can run anywhere on your account, not just in the cgi-bin directory. Generally the scripts need to be set executable, which requires a chmod to 755.
We currently support PERL 5.x. Normally it is the latest stable version available.
Our control panels provide some "canned" scripts you can automatically install. You are also free to install your own scripts. There are resources to find scripts on the internet. We suggest cgi-resources.com, hotscripts.com and freshmeat.net.
CGI stands for Common Gateway Interface. CGI runs on a webserver to enhance the site.
Linux servers have different possible file permissions which can be set on a file or folder. By default the permissions will be set to 0644, which allow you to read/write to the file but others will be only allowed to read the file.Files such as cgi scripts need to be set to executable. A permissions of 0755 should be set to files which need to execute. Some scripts may ask you to set a folder or file to permissions of 777. This is NOT recommended. Our servers now use suexec which runs cgi [...]
Posted at October 23, 2015 at 8:26 am by InterServer Staff
In most cases this can be done. However, we will only install a module available from CPAN. To request this you should open a ticket through our website. You can view the perl modules already installed through one of the Control Panels we provide.
A 500 error on a script usually means there is a syntax error. There are two good ways to debug a script. You can first check your error log located in either the cPanel or Admin Center control panel. The second way is to log into your shell and move to the directory the script is in. When in the proper directory type ./filename.cgi - This may tell you where the error is. If all else fails you may contact our support dept and we will do our best to locate the problem.