• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Trying to run cgi-irc - 500 Server error

M

mandrich

Guest
Hello,

I'm migrating over from a Plesk 5.5 installation to Plesk 7.5 Reloaded. I need to run cgi-irc because I have clients who can only connect to irc via port 80 through a browser. Everything appears to be working correctly for cgi scripts, but irc.cgi returns a 500 error and the logs show a "premature end of script headers" in the logs. This is the exact script that I am able to run on the Plesk 5.5 box I have, leading me to believe it's an environment issue.. Here are the details:

Level.domain.com is a sub-domain of domain.com. CGI support is turned on for the child domain, but not the parent. The files have been copied into the cgi-bin of the subdomain. The permissions are as follows -

drwxr-xr-x 2 ftpltm psacln 4096 Jan 29 11:57 .
drwxr-xr-x 5 root root 4096 Jan 29 10:56 ..
-rwxr-xr-x 1 ftpltm psacln 2376 Jan 29 11:23 client-perl.cgi
-rwxr-xr-x 1 ftpltm psacln 6727 Jan 29 11:23 irc.cgi
-rwxr-xr-x 1 ftpltm psacln 36485 Jan 29 11:23 nph-irc.cgi
-rwxr-xr-x 1 ftpltm psacln 88 Jan 29 11:57 test.cgi

I wrote a basic "Hello World" test script (test.cgi) that works fine and tells me that cgi is functional. The irc.cgi script I'm trying to run has #! /usr/bin/perl -w as the path. Permissions look correct. Same configration I ran on the previous server. Any guidance is appreciated.
 
Found the issue. Incorrect permissions on my config file. A chmod 644 fixed everything. :eek:
 
Back
Top