I installed an apache server on Redhat 8.0. Most CGI scripts that I run fail. I receive the following message from the server.
Server error!
The server encountered an internal error and was unable to complete your request.
Error message:
Premature end of script headers: assi1final.cgi
If you think this is a server error, please contact the webmaster
Error 500
However, running the follwing script works fine,
#!/usr/bin/perl -wT
print "Content-type: text/html\n\n";
print "Hello, world!\n";
How can I correct this problem? Any ideas??
Sal
Server error!
The server encountered an internal error and was unable to complete your request.
Error message:
Premature end of script headers: assi1final.cgi
If you think this is a server error, please contact the webmaster
Error 500
However, running the follwing script works fine,
#!/usr/bin/perl -wT
print "Content-type: text/html\n\n";
print "Hello, world!\n";
How can I correct this problem? Any ideas??
Sal