rizwan65
05-01-2005, 09:02 AM
ERROR 500
Premature end of script headers: test.cgi
I see this error message this all over the 'net, and I've fixed the obvious (chmod 777 for the directory and the objects, made sure the...
#!/usr/bin/perl
print "Content-type: text/html\n\n";
...is followed by a blank line.
The script works from a command line but this error comes back from a browser.
This is FedoraCore 1 with Apache version 2.0.50 and perl v5.8.3 ... am I missing something in either the perl or httpd config, maybe?
Any suggestions
Rizsh
Premature end of script headers: test.cgi
I see this error message this all over the 'net, and I've fixed the obvious (chmod 777 for the directory and the objects, made sure the...
#!/usr/bin/perl
print "Content-type: text/html\n\n";
...is followed by a blank line.
The script works from a command line but this error comes back from a browser.
This is FedoraCore 1 with Apache version 2.0.50 and perl v5.8.3 ... am I missing something in either the perl or httpd config, maybe?
Any suggestions
Rizsh