Herre is my problem. My client had there sites hosted on Network solutions. I had formamil set up and running fine with little effort. They decide to switch to godaddy and now I cannot get formmail to work. I have tried for the past 5 hours to find my error. Called Godaddy twice een uploaded a fresh opy of formail and still get the same error. Hope somoen can help me here.
The only differnece between godaddy and NS is at NS the site using formmail was the main wesite no at godaddy this site is hosted in a directory inside another site. Here are the detail of everything I am doing including the cgi errors I am getting.
Thanks G.
Error Code
SoftException in Application.cpp:636: Could not execute script "/home/content/s/p/i/spiderlath/html/goldcast/cgi/FormMail.pl"
Caused by SystemException in API_Linux.cpp:434: execve() for program "/home/content/s/p/i/spiderlath/html/goldcast/cgi/FormMail.pl" failed: Permission denied
[Mon Mar 30 18:57:13 2009] [error] [client 70.244.173.166] Premature end of script headers: /var/chroot/home/content/s/p/i/spiderlath/html/goldcast/cgi/FormMail.pl
MY Formmail Code
#!/usr/bin/perl -wT
#
# NMS FormMail Version 3.14c1
#
use strict;
use vars qw(
$DEBUGGING $emulate_matts_code $secure %more_config
$allow_empty_ref $max_recipients $mailprog @referers
@allow_mail_to @recipients %recipient_alias
@valid_ENV $date_fmt $style $send_confirmation_mail
$confirmation_text $locale $charset $no_content
$double_spacing $wrap_text $wrap_style $postmaster
$address_style
);
# PROGRAM INFORMATION
# -------------------
# FormMail.pl Version 3.14c1
#
# This program is licensed in the same way as Perl
# itself. You are free to choose between the GNU Public
# License <http://www.gnu.org/licenses/gpl.html> or
# the Artistic License
# <http://www.perl.com/pub/a/language/misc/Artistic.html>
#
# For help on configuration or installation see the
# README file or the POD documentation at the end of
# this file.
# USER CONFIGURATION SECTION
# --------------------------
# Modify these to your own settings. You might have to
# contact your system administrator if you do not run
# your own web server. If the purpose of these
# parameters seems unclear, please see the README file.
#
BEGIN
{
$DEBUGGING = 1;
$emulate_matts_code= 0;
$secure = 1;
$allow_empty_ref = 1;
$max_recipients = 5;
$mailprog = '/usr/lib/sendmail -oi -t';
$postmaster = 'info@goldcastproducts.com';
@referers = qw(goldcastproducts.com);
@allow_mail_to = qw(info@goldcastproducts.com);
@recipients = ();
%recipient_alias = ();
@valid_ENV = qw(REMOTE_HOST REMOTE_ADDR REMOTE_USER HTTP_USER_AGENT);
$locale = '';
$charset = 'iso-8859-1';
$date_fmt = '%A, %B %d, %Y at %H:%M:%S';
$style = 'videorequest.css';
$no_content = 0;
$double_spacing = 1;
$wrap_text = 0;
$wrap_style = 1;
$address_style = 0;
$send_confirmation_mail = 0;
$confirmation_text = <<'END_OF_CONFIRMATION';
From: you@your.com
Subject: form submission
Bookmarks