[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Malformed header on CGI Perl script
- Subject: [cobalt-users] Malformed header on CGI Perl script
- From: propheci <propheci@xxxxxxxxxxxxxx>
- Date: Sat Jan 12 08:28:09 2002
- Organization: Wickedland.com
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
hi,
having some trouble getting my perl script to work. it works fine in console
with "perl blah.cgi". but when i try it in a browser, it gives me an
internal server error.
upon further investigation, i see the following line in my error log:
malformed header from script. Bad header=BEGIN failed--compilation abor:
/usr/cgiwrap/cgiwrap.
i checked the common things like making sure i have the print "Content-type:
text/html;\n\n" and the #!/usr/bin/perl. the error also occurs only on my
MySQL/DBI related scripts.
thank you,
xiaolei