Your problem probaby is that you haven't set your HTTP header:
print "Content-Type: text/html\n\n";
Needs to be the first line of any web perl script.
Let me know if that solves it.
-David Talbot
At 01:14 AM 6/20/00 -0400, you wrote:
>Wow. Thanks so much.
>
>I know I can't imagine Microsoft saying, "Oh, ASP isn't working on your
>IIS? Well, I wrote IIS, so send me your error log and we'll see what we
>can do."
>
>Wow. Thanks.
>
>But anyway, you said that the /perl directory isn't really CGI. So, I
>reinstituted my /cgi-bin directory. If you want the httpd.conf file, just
>ask.
>
>In the error log, when I try to POST to
>www.mathjmendl.org/cgi-bin/visitorbook.pl, it says, "Premature end of
>script headers."
>
>If you need/want that script as well, just ask.
>
>Again, thanks so much for your reply!
>
>Sincerely,
>
>Asheesh Laroia.
>
>
>On Sat, 17 Jun 2000, Jean-Michel
>Dault wrote:
>
>>
>> On Sat, 17 Jun 2000, Asheesh Laroia wrote:
>>
>> > Serving static HTTP content works great. However, perl scripts were
>> > always a huge problem. Since I didn't modify anything before trying
>Perl,
>> > I was wondering what steps some of you have taken to allow a Mandrake Air
>> > server to dish out dynamic (perl-based) content.
>>
>> Your server looks okay. Have a look at
>> http://AsheeshEnterprises.com/perl/test.pl
>>
>> This is the default test script, all seems okay. However, the scripts
>> installed in the /perl directory are made to run perl as a cgi and not
>> mod_perl. mod_perl is very strict on what it runs.
>>
>> Your visitorbook.pl churns an internal error, I would need your error_log
>> to diagnose it.
>>
>> You can mail me personnaly at [EMAIL PROTECTED] if you would like
>> me to check it out. You can trust me, my name is in
>> http://AsheeshEnterprises.com/index.shtml ;-)
>>
>> Jean-Michel Dault
>> Corporate Developer
>> MandrakeSoft (Montreal)
>>
>