[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Is anyone on the list using "formmail" CGI script on their RH Apache implementations?



Sebastijan Petrovic wrote:
Hello,

I've been using FormMail (well known, I'm sure) CGI script on my Apache
servers for 5-6 years and never had a problem.

I recently upgraded from RH9 to FC2 and FormMail no longer works.
Rather, I keep getting 500 errors on the server.

I tested the script from command line and it's fine, the path to the
script is good as well as the permissions.

When I review error_log for Apache it shows Premature end of script
headers: FormMail.pl


I ran into a scenerio where I was trying to run virtual websites and when I attempted to run CGI from within the users CGI-bin, I would get these errors. However, the main site would work just fine (same script) I never did solve the problem, I just went to using PHP instead. I believe that this error has to do with running CGI scripts outside of your docroot. Such as a users directory or something. Apache needs Suexec compiled into it or somesuch to support this. So I don't know if it was permissions, or what...I just didn't have the time to figure it out....

Anyway, if you are using Matt's Formmail script, you should check out:
http://nms-cgi.sourceforge.net/scripts.shtml for their 'nms FormMail'

Their scripts are much more secure, and actually, they have an improved FormMail script there called TFMail.

We use the nms FormMail right now, but I am looking to switch to the TFMail when I get a chance.

--

Craig Daters (craig westpress com)
Systems Administrator
West Press Print Communications

1663 West Grant Road
Tucson, Arizona 85705
(520) 624-4939
(520) 624-2715 fax

www.westpress.com

--
Please note: It is the policy of West Press that all e-mail
sent to and from any @westpress.com address may be recorded
and monitored. Unless it is West Press related business,
please do not send any material of a private, personal,
or confidential nature to this or any @westpress.com
e-mail address.

This message has been scanned for UCE (spam), viruses,
and dangerous content, and is believed to be clean.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]