i use apache 1.3.22-2 on woody
when i browse to http://localhost/~hero/test.pl this is an error

Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.

Please contact the server administrator, [EMAIL PROTECTED] and inform
them of the time the error occurred, and anything you might have done
that may have caused the error.

More information about this error may be available in the server error
log.

Apache/1.3.22 Server at localhost Port 80

######### test.pl
!#/usr/bin/perl -w
print "Content-type: text/html\n\n";
print "<h2>Test cgi</h2>\n";

######### /var/log/apache/error.log
[Sun Nov 17 20:32:31 2001] [error] [client 127.0.0.1] Premature end of script 
headers: /home/hero/public_html/test.pl

######### /etc/apache/httpd.conf
<Directory /home/*/public_html>
  AllowOverride None
  Options ExecCGI Indexes FollowSymLinks
  Order allow,deny
  Allow from all
</Directory>

AddHandler cgi-script .cgi .sh .pl

Reply via email to