[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] CGI Wrap Errors? Help!?!?
- Subject: Re: [cobalt-users] CGI Wrap Errors? Help!?!?
- From: "cobaltlist@xxxxxxxxxx" <cobaltlist@xxxxxxxxxx>
- Date: Fri Apr 6 14:13:13 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hi, Sam.
Don't know if you've solved this problem yet.
I had to install formmail from Matt's Script Archive last week on my Raq 3
and I tore my hair out for a while before I got it to work. But now it's
working fine. Here are some things to try:
1. Sendmail on the Cobalt is in an unusual place, so you have to edit the
script so it can find it. Normally it's at /usr/bin/sendmail. On the
Cobalt, it's at /usr/sbin/sendmail.
2. Also, Perl is at /usr/bin/perl, not usr/bin/local/perl, which will cause
problems if you forget to change it and the script is set incorrectly for
the Cobalt. But I don't think Formmail uses it.
3. In the "duh" department, make sure that "allow CGI scripts" is checked
in the site settings for the virtual site (the first time I missed this, it
took a good half hour before I realized it)
4. Make sure that the script is uploaded in ASCII; my FTP client defaults
to binary, and that nearly always causes problems. Just delete and recopy
if you're not sure.
5. Recheck that the permissions for the files are correct so that users are
allowed to execute the script.
If you're still getting errors, check the error logs which I think are at
/home/log/httpd/error.log (or something close). They will usually give a
pretty good hint as to what's busted.
Email me offlist if you still have a problem and I'll see if I can remember
anything else I did.
Best of luck!
Chip