I am having a crisis with the add.cgi and modify.cgi scripts. It basically close to the error mentioned on your CGI Scripts FAQ "Why am I getting an Internal Server Error 500 with add.cgi"
Only in this case it is not a 500 but a straight "Internal Server Error". The add.cgi works fine at first, the form comes up ready for me to add details, but when I click on Send, it gives the error. You have no idea how long I have spend checking, double checking, triple checking the sendmail path and my e-mail address, but I still keep getting it.
The Validate.db file DOES show the entry, so something is working...
# Email Options
# --------------------------------------------------------
# NOTE: Be sure to edit the text of the message. It can be found
# in the templates directory: email-add.txt, email-del.txt and
# email-mod.txt respectively.
# Set only ONE of either $db_mail_path which should go to a
# mail program like sendmail, or $db_smtp_server which will use
# a SMTP server. Do not set both at once!
# PATH of sendmail. # SMTP Server
$db_mail_path = "/usr/lib/sendmail";
# $db_smtp_server = '';
# Email address of the administrator. BE SURE TO SET!
$db_admin_email = "dbhudia\@yahoo.com";
# Notify visitors automatically when their links are validated?
$db_email_add = 1;
# Notify visitors automatically when their links are modified?
$db_email_modify = 1;
# Log all outgoing messages? Put the full path to a logfile and make sure it
# exists and is writeable (chmod 666 -rw-rw-rw-). This logfile can get pretty
# big!
$db_mailer_log = '';
here is a seg from my formmail script to show that sendmail path is correct
----------------------
# This should match the mail program on your system.
$mailprog = '/usr/lib/sendmail';
# This should be set to the username or alias that runs your
# WWW server.
$recipient = 'dbhudia@yahoo.com';
---------------------
So what else is going wrong ? Oh yes the file is certainy 755 perission.
try for yourself
http://cgi.www.samaj.com/cgi-bin/www.samaj.com/links/add.cgi
Please help... i'm loosing it now
Only in this case it is not a 500 but a straight "Internal Server Error". The add.cgi works fine at first, the form comes up ready for me to add details, but when I click on Send, it gives the error. You have no idea how long I have spend checking, double checking, triple checking the sendmail path and my e-mail address, but I still keep getting it.
The Validate.db file DOES show the entry, so something is working...
# Email Options
# --------------------------------------------------------
# NOTE: Be sure to edit the text of the message. It can be found
# in the templates directory: email-add.txt, email-del.txt and
# email-mod.txt respectively.
# Set only ONE of either $db_mail_path which should go to a
# mail program like sendmail, or $db_smtp_server which will use
# a SMTP server. Do not set both at once!
# PATH of sendmail. # SMTP Server
$db_mail_path = "/usr/lib/sendmail";
# $db_smtp_server = '';
# Email address of the administrator. BE SURE TO SET!
$db_admin_email = "dbhudia\@yahoo.com";
# Notify visitors automatically when their links are validated?
$db_email_add = 1;
# Notify visitors automatically when their links are modified?
$db_email_modify = 1;
# Log all outgoing messages? Put the full path to a logfile and make sure it
# exists and is writeable (chmod 666 -rw-rw-rw-). This logfile can get pretty
# big!
$db_mailer_log = '';
here is a seg from my formmail script to show that sendmail path is correct
----------------------
# This should match the mail program on your system.
$mailprog = '/usr/lib/sendmail';
# This should be set to the username or alias that runs your
# WWW server.
$recipient = 'dbhudia@yahoo.com';
---------------------
So what else is going wrong ? Oh yes the file is certainy 755 perission.
try for yourself
http://cgi.www.samaj.com/cgi-bin/www.samaj.com/links/add.cgi
Please help... i'm loosing it now