mklappen Posted October 6, 2005 Posted October 6, 2005 Hi I'm trying to add a very basic and simple email form to a site and for some reason I'm getting the 500 Internal Server Error. I've followed the step by step instructions here http://web.mit.edu/wwwdev/cgiemail/user.html , created my email template, but I still can't get it to work! I have my emailform.txt located in the /public_html directory but have also tried it in other directories /cgi-bin (and others) changing the action each time, with no luck. (I've also used the fill link in my form action="http://www.mysite.com/cgi-bin/cgiecho/emailform.txt") Can someone point me in the right direction? Here's my form: <form method="post" action="/cgi-bin/cgiecho/emailform.txt" enctype="text/plain"> Email address: <input type="text" name="email" size="30" maxlength="75" style ="font-size: 10; background-color: #CCCCCC; border: 1px solid #666666;"> <input name="Submit" type="submit" value="Submit" class="buttons" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000; background-color: #FFCCFF; " /> </form> Thanks MK Quote
TCH-Bruce Posted October 6, 2005 Posted October 6, 2005 Hi MK, first of all cgi scripts end in .cgi or .pl and not .txt so that is the first problem. The other problem is the files must be uploaded as text files (ASCII) and their permissions must be changed to executable. Normally 755. Another thing is cgiemail has been disabled on the TCH servers because it was easy for spammers to abuse that script. You are going to have to find another form to email processing script to use. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.