I have a standard Interland 'virtual' hosting account. I ftp'd the FormMail.pl into the cgi-bin, making sure to use ASCII. I logged in via telnet and edited the Formmail.pl with what should be the right path for my perl interpreter:
and the path for my mail program, sendmail:
And as per the setup instructions I listed my domain in the referers line, and my email in the recipients line. I also chmod'd the permissions to 755. That should be it for the cgi script, right?
On my form I have:
<form name="form1" method="POST" action="cgi-bin/FormMail.pl">
<input type=hidden name="recipient" value="my_email@my_domain.com">
When I hit the submit button, I get "Page Not Found".
What is the deal?
Before I did chmod, I got a "Not Allowed to View This Page" error. Afterwards, same old 500 error. It seems like the form can't even access the cgi file. Are my paths wrong? How can I be sure? I look at the directories and it looks right, starting from the root, /. This should be simple, and somehow I'm getting killed on this. Please help.