News:

Go to HostNed.com
Welcome.  This is a place to get user-to-user support, learn more, and share ideas.  If you can't find your answers here, feel free to ask by creating a new topic or visit the support ticket system at https://my.hostned.com :)  Have fun here!

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - DonaldHines

#1
Scripting / Re: using asform with hostned
July 10, 2006, 05:56:00 PM
Thank you very much for the advice folks!  I gave up on the asform and attempted a php solution using the code from one of the other examples on this forum.  It works just fine.  thank you VERY much for all your help!
#2
Scripting / using asform with hostned
July 09, 2006, 09:49:32 AM
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.