On Mon, Nov 27, 2000 at 12:18:29AM -0600, Herbert Ho wrote: > 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 > compare).
Don't be so sure... > #!/usr/bin/perl -w > require "cgi-lib.pl"; Do you have cgi-lib.pl installed? It's very old and icky. Look at /var/log/apache/error.log for the errors. -- CueCat decoder .signature by Larry Wall: #!/usr/bin/perl -n printf "Serial: %s Type: %s Code: %s\n", map { tr/a-zA-Z0-9+-/ -_/; $_ = unpack 'u', chr(32 + length()*3/4) . $_; s/\0+$//; $_ ^= "C" x length; } /\.([^.]+)/g;