more apache/perl problems, premature end of script

2000-11-27 Thread Herbert Ho
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

Re: more apache/perl problems, premature end of script

2000-11-27 Thread brian moore
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

Re: more apache/perl problems, premature end of script

2000-11-27 Thread Herbert Ho
i downloaded cgi-lib.pl and placed it in the same directory as my script. (from cgi-lib.berkeley.edu) it runs fine on the cmdline (both my box and my university's server) the error i get in /var/log/apache/error.log is (without the time stamp): Premature end of script headers:

Re: more apache/perl problems, premature end of script

2000-11-27 Thread will trillich
welcome to the club, you've been initiated. On Mon, Nov 27, 2000 at 10:34:40AM -0600, Herbert Ho wrote: i downloaded cgi-lib.pl and placed it in the same directory as my script. (from cgi-lib.berkeley.edu) it runs fine on the cmdline (both my box and my university's server) the error i get

Re: more apache/perl problems, premature end of script (SOLVED)

2000-11-27 Thread Herbert Ho
thanks to everyone who's helped out on this. especially Will Trillich [EMAIL PROTECTED] for pointing me to perl.apache.org. wow. =) in any case. for posterity. in a stock apache-perl install on a potato, you have to add something like the following to access.conf: Files ~ \.pl$ SetHandler