Click to See Complete Forum and Search --> : Formmail Problem


ncriptide
04-21-2005, 09:05 AM
Cannot get a response form to work on a site I just uploaded. I'm still very new at this - if anyone can offer any suggestions, it would be greatly appreciated.

I uploaded FormMail to my Interland VPS server in the cgi-bin of a virtual host I have setup called dbcfoundation.org. Below is the path and the information where FormMail is located:

File Path: ftp://usr122057130:@sumnergroup.com/
%2fusr/local/www/vhosts/dbcfoundation.org/cgi-bin/FormMail.pl

Below is the info I entered on the FormMail form (per Interland's setup instructions for FormMail):

$mailprog = '/usr/sbin/sendmail -i -t -f
rbyrum@sumnergroup.com';

@referers = ('dbcfoundation.org','216.122.57.130');

Below is the info I entered on the html form:

<form action="http://dbcfoundation.org/cgi-bin/FormMail.pl" method="POST" name="intentlttr" id="intentlttr">
<input type=hidden name="recipient" value="rbyrum@sumnergroup.com">
<input type=hidden name="subject" value="Letter of Intent">

Okay - let me have it - WHAT DID I DO WRONG???

andyshep
04-21-2005, 10:43 AM
ive recently had to set up my first formmail.had a lot of probs but got it working eventually i used NMS FormMail Version 3.14c1. found i had no probs with this.anyway try changing your action to:

action="/cgi-bin/formmail.pl"

andy

ncriptide
04-21-2005, 10:55 AM
THAT'S IT!!!!! THAT'S IT!!!!

Go figure! My FormMail.pl form resides in my cgi-bin labeled "FormMail.pl."
So I took pains to make sure that my html form action MATCHED what was on the server. But when I changed it to "action="/cgi-bin/formail.pl" - low and behold - it works!!!!

THANK YOU, THANK YOU, THANK YOU ANDY!!!! I've been working two freaking days on this!

But can anyone explain to me WHY in the heck my form works when it doesn't match what is in my cgi-bin???????????? I'd LOVE to know! I thought it was all case-sensitive?

andyshep
04-21-2005, 11:00 AM
cool im glad i could help. i spent 2-3 days trying to get it to work too.

as for being case sensitive...ask someone else :D

andy

ncriptide
04-21-2005, 12:58 PM
BTW: It's good to "set permissions" when you upload FormMail to the server . . . Being a newby I didn't know you had to and nothing I read told me to do this. Owner should have all permissions and "Group" and "Everyone" should have "read" and "search/execute" permissions. Turns out, this was the major cause of my problems.