jduvall
05-16-2002, 09:31 PM
1. I've uploaded the FormMail.pl script from this forum to my cgi-bin folder with the following settings and 7,5,5 permissions.
$mailprog = '/usr/sbin/sendmail';
@referers = ('jduvall.com','66.192.44.36');
@recipients = ('jimmy@jduvall.com');
2. I created a test form:
<form method="POST" action="/cgi-bin/FormMail.pl">
<input name="recipient" type="hidden" value="jimmy@jduvall.com">
<input name="subject" value="test subject">
<INPUT type="submit" name="submit" value="Submit">
</form>
3. I try to submit the form and I get the following error:
Internal Server Error
4. I check the log file and I see this:
[Thu May 16 20:21:51 2002] [error] [client 209.157.66.2] Premature end of script headers: /home/jduvall/public_html/cgi-bin/FormMail.pl [Thu May 16 20:21:51 2002] [error] (2)No such file or directory: exec of /home/jduvall/public_html/cgi-bin/FormMail.pl failed
Any idea what causing this? The FormMail.pl file is there...
Thanks!
$mailprog = '/usr/sbin/sendmail';
@referers = ('jduvall.com','66.192.44.36');
@recipients = ('jimmy@jduvall.com');
2. I created a test form:
<form method="POST" action="/cgi-bin/FormMail.pl">
<input name="recipient" type="hidden" value="jimmy@jduvall.com">
<input name="subject" value="test subject">
<INPUT type="submit" name="submit" value="Submit">
</form>
3. I try to submit the form and I get the following error:
Internal Server Error
4. I check the log file and I see this:
[Thu May 16 20:21:51 2002] [error] [client 209.157.66.2] Premature end of script headers: /home/jduvall/public_html/cgi-bin/FormMail.pl [Thu May 16 20:21:51 2002] [error] (2)No such file or directory: exec of /home/jduvall/public_html/cgi-bin/FormMail.pl failed
Any idea what causing this? The FormMail.pl file is there...
Thanks!