Troubleshooting CGI premature end of script headers on Plesk

  1. make sure to upload the script into the cgi-bin in ASCII mode
  2. check permissions – chmod 755 the script
  3. check ownerships – should be USERID:psacln on the script and the directory should be USERID:psaserv e.g. chown siteuser:psacln test.pl
  4. make sure that the site has CGI support ticked
  5. verify the syntax of the script by running “perl -c test.pl”

Related posts:

  1. Troubleshooting PHP Sqlite Query Error: Unable to open database
  2. Optimize MySQL Performance With MySQLTuner
  3. Howto: Convert an OpenSSL key to a public/private OpenSSH key-pair
  4. Simple RADIUS XML dump PHP script
  5. Howto Secure Apache
  6. Automatic Generate JUnit Tests
  7. Howto Use URL Rewriting for PHP Web Applications
  8. Howto Upgrade Joomla
  9. Ubuntu Howto: Install Xen
  10. Installing Xen on Debian Etch 4.0

Popular Related Items »

Incoming search terms

Leave a Comment