Microsoft
Software
Hardware
Network
Question : CGI Script Error
Hi - I am using a cgi script for a form. When I submit the form I get "500 Internal Server Error" message. I checked my error log for the cgi scripts and here is what I got.
Can't locate Mail/Sendmail.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-
linux-thre
ad-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5
.8.0/i386-
linux-thre
ad-multi /usr/lib/perl5/site_perl/5
.8.0 /usr/lib/perl5/site_perl/5
.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl
/5.8.0/i38
6-linux-th
read-multi
/usr/lib/perl5/vendor_perl
/5.8.0 /usr/lib/perl5/vendor_perl
/5.8.0 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.0/i386-
linux-thre
ad-multi /usr/lib/perl5/5.8.0 .) at /home/content/b/i/g/bighea
rt08/html/
cgi/sendco
ntact.cgi line 7.
BEGIN failed--compilation aborted at /home/content/b/i/g/bighea
rt08/html/
cgi/sendco
ntact.cgi line 7.
[Sun Aug 31 08:32:01 2008] [error] [client 69.246.100.72] Premature end of script headers: /var/chroot/home/content/b
/i/g/bighe
art08/html
/cgi/sendc
ontact.cgi
Can you tell me what this means? Doe sit have something to do with the cgi script? I have attached the cgi script I am using. Thanks.
Answer : CGI Script Error
You don't have the Mail/Sendmail.pm perl module installed in your system's Perl distribution. If this site is hosted by a hosting company, ask them to install it for you. If it is your own custom server, download it from cpan and install it
Random Solutions
Assist Q. w/security: Deny Delete right on folder does not prevent deletion
RHEL 5 compatible platforms
Run function when sound is complete
Trojan Horse Virus Elimination
Copy all distinct data from one table to another
How do I force database mail in SQL Server 2005 to send e-mail in plain text instead of encoding it in base64?
Raw device or cooked file?
Finding and removing Calendar Control Reference in Excel Workbook
Friendly URL's; Underscores to Hyphens
forcing excel graph size