Before executing Perl/CGI scripts, several prerequisites must be met: CGI support in the Plesk admin tool must be enabled, the script must be uploaded in text format, the access permissions must be set correctly (usually chmod 755), and 777 is not allowed for security reasons. Additionally, the path specifications in the script must be correct.
Before executing Perl/CGI scripts, the following points must be ensured:
- The "CGI support" in the Plesk admin tool (menu "Setup") must be activated, according to this guide: CGI, Perl: Directory cgi-bin
- The script must be uploaded in text format (ASCII).
- The access permission for the script must be correct (usually the command chmod 755, corresponding to the file permissions -rwxr-xr-x).
- 777 is not allowed (even though it makes the script executable) for security reasons and you will receive an error message.
-
The path specifications used in the script must be correct.