I'm trying to set up asform (http://artsackett.com/freebies/asform/) as a form to email cgi-script.
I have the asform.cgi pointing to the perl interpreter at:
#!/usr/bin/perl
And in asformcfg.cfg I've set the SMTP server to:
mailhost: mail.unicornwoman.com
I also tried with
mailhost: smtp.unicornwoman.com
And finally, my test form html looks like:
<HTML>
<HEAD><TITLE>testing</TITLE></HEAD>
<H1>A form for testing forms!</H1>
<form action="/cgi-bin/asform.cgi" method="POST">
<p>Name: <input type="text" name="name" size=40 maxlength=80>
<p>Email: <input type="text" name="email" size=40 maxlength=80>
<p>Message: <input type="textarea" name="message" rows=50 columns=80>
<input type="submit" value="Send">
</form>
</BODY>
</HTML>
But when I fill out the form and hit SEND, I get a 500 Internal Server Error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
---
Any help would be greatly appreciated.
I have the asform.cgi pointing to the perl interpreter at:
#!/usr/bin/perl
And in asformcfg.cfg I've set the SMTP server to:
mailhost: mail.unicornwoman.com
I also tried with
mailhost: smtp.unicornwoman.com
And finally, my test form html looks like:
<HTML>
<HEAD><TITLE>testing</TITLE></HEAD>
<H1>A form for testing forms!</H1>
<form action="/cgi-bin/asform.cgi" method="POST">
<p>Name: <input type="text" name="name" size=40 maxlength=80>
<p>Email: <input type="text" name="email" size=40 maxlength=80>
<p>Message: <input type="textarea" name="message" rows=50 columns=80>
<input type="submit" value="Send">
</form>
</BODY>
</HTML>
But when I fill out the form and hit SEND, I get a 500 Internal Server Error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
---
Any help would be greatly appreciated.