SSL + Perl = 500 error?

Been hacking away at my code and files all evening trying to figure this stupid thing out.

Problem: have a VERY, VERY simple script that I'm trying to run via a browser. http://mysite/script.cgi works fine. https://mysite/script.cgi poops. I checked out the error logs and it had a premature end of script headers.

code:
#!/usr/bin/perl -w
print "Content-type: text/html\n\n";
print "Hello world";
I just don't understand. SSL + Perl = 500 error?

<EDIT>
Running WHM/CPanel server...
</EDIT>

 

 

 

 

Top