I created a perl script, but no matter what I do, I still get the error from
the http server:
access to /usr/local/www/cgi-bin/read-data.pl failed
for dark_star.pbgi.com, reason: malformed header from script
In the process of debugging I eliminated all lines of the script so that the
ENTIRE code looks like:
Yes.. I have tried it with
print "Content-type: text/html\n";
Still the same error. What's up with that? The script has 100766 permissions
and the uid has read/execute permissions... this is identical to other
working scripts in the cgi-bin directory.
What is the black magic needed?
(perl 5, FreeBSD 2.01, Apache)