- Impact
- 0
Need help with FormMail.pl
Hi I need help with FormMail.pl, it will not work with my form.
Below are all the fields within FormMail.pl that I have changed:
#!/usr/sbin/perl
$mailprog = '/usr/sbin/sendmail';
@referers = ('appledrivingschool.co.uk','www.appledrivingschool.co.uk');
@recipients = @referers;
and the necessary fields in my form:
<form id="Contact Us" name="Contact Us" method="post" action="/cgi-bin/FormMail.pl">
<input name="recipient" type="hidden" id="recipient" value="[email protected]" />
<input name="subject" type="hidden" id="subject" value="Contact Form" />
<input name="redirect" type="hidden" id="redirect" value="www.appledrivingschool.co.uk/thankyou.html" />
When the form is submitted I get the following error message:
(500) Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.31 Server at www.appledrivingschool.co.uk Port 80
I cant work it out, I've tried numerous of things including setting the permissions of the file to 755, but it just wont have it.
I hope someone has encountered this before and knows an answer
Hi I need help with FormMail.pl, it will not work with my form.
Below are all the fields within FormMail.pl that I have changed:
#!/usr/sbin/perl
$mailprog = '/usr/sbin/sendmail';
@referers = ('appledrivingschool.co.uk','www.appledrivingschool.co.uk');
@recipients = @referers;
and the necessary fields in my form:
<form id="Contact Us" name="Contact Us" method="post" action="/cgi-bin/FormMail.pl">
<input name="recipient" type="hidden" id="recipient" value="[email protected]" />
<input name="subject" type="hidden" id="subject" value="Contact Form" />
<input name="redirect" type="hidden" id="redirect" value="www.appledrivingschool.co.uk/thankyou.html" />
When the form is submitted I get the following error message:
(500) Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.31 Server at www.appledrivingschool.co.uk Port 80
I cant work it out, I've tried numerous of things including setting the permissions of the file to 755, but it just wont have it.
I hope someone has encountered this before and knows an answer





