[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

more apache/perl problems, "premature end of script"

i posted before w/ 400 forbidden problems. i fixed that, but i still
can't get a script to run.

i now get:

   Premature end of script headers: /home/herb/public_html/init/login.pl

i'm pretty sure it's not my script since it works on another webserver
that my university runs (and i can't find their conf files to

so i'm left w/ a config error. i added this in access.conf:

   AddHandler cgi-script .cgi .pl

changed this in my access.conf (add ExecCGI):

   <DirectoryMatch ^/home/.*/public_html>
      Options ExecCGI Indexes SymLinksIfOwnerMatch
      AllowOverride None

what am i missing? 

thanks in advance,


----- the cgi file in case you don't believe me -----

#!/usr/bin/perl -w
require "cgi-lib.pl";

# output header
print &PrintHeader;
print &HtmlTop ("WDI: Plagarism Detector - Login");


print <<ENDOFTEXT;
username: <br><br>


# end html doc
print &HtmlBot;

Reply to: