cancel
Showing results for 
Search instead for 
Did you mean: 

Server error

beilby
Newbie
Posts: 8
Registered: ‎05-02-2008

Server error

I am getting the following error when submitting forms on my web site:-
Server error!
The server encountered an internal error and was unable to complete your request.
Error message:
Premature end of script headers: formmail.pl
If you think this is a server error, please contact the webmaster.
Error 500
ccgi.beilby.plus.com
Tue Mar 16 10:27:21 2010
Apache

After making a very simple change to the formmail script (correcting a telephone number) I got the error. I have now reverted to the original file ( > 2 years old) and still get the same error message.
Anyone got any ideas on what could be wrong please.
Regards,
Richard Beilby.
3 REPLIES
Community Gaffer
Community Gaffer
Posts: 13,575
Thanks: 1,252
Fixes: 103
Registered: ‎04-04-2007

Re: Server error

Hi Richard,
Have a read of this and check what you have in your .htaccess files.

Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵

beilby
Newbie
Posts: 8
Registered: ‎05-02-2008

Re: Server error

Thanks, Bob. I have checked after reading the post and found that the perl script file (pl) did not have the execute permission set. I now have it set to read and execute for all users plus write for the owner. I presume these setting are correct.  Smiley Smiley
Regards,
Richard Beilby.
Community Veteran
Posts: 767
Registered: ‎29-10-2008

Re: Server error

Quote from: beilby
I now have it set to read and execute for all users plus write for the owner. I presume these setting are correct.  Smiley Smiley

Just 700 for scripts. See <a href="http://community.plus.net/forum/index.php/topic,84349.0.html"> this post</a>.
Gabe