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

Re: [cobalt-users] CGI permission problems (driving me bonkers)



Hello Jay,

> Hi, I'm having a hell of a time trying to get a form handler to work.  I
> have read every on CGI to this list since September 29 2001 and have still
> had no luck, I've looked at the Cobalt CGI FAQ and also Unixtools.com for
> the Wrapper and can't figure out for the life of me why this one work,
I've
> been looking at it constantly for over 24 hours.  I'd appreciate any
> assistance that can be offered.

Nothing to do with permissions :-)

<snipped to only show relevant bits>

You need to fix the following paths since they're incorrect for a RaQ:

> $form_info_path =
"/usr/local/etc/httpd/htdocs/demos/feedback_archive.txt";
> $email_datafile_path =
> "/usr/local/etc/httpd/htdocs/demos/feedback_emails.txt";
> $feedback_response_path =
> "/usr/local/etc/httpd/htdocs/demos/feedback_response.txt";

But the killer is probably this:

> #Path to sendmail
> $mailprog = "/lib/sendmail -t";

sendmail isn't there unless you have created a symbolic link. It's usually
in:

/usr/sbin/sendmail

--
Regards,
Jonathan Michaelson
Commercial CGI Scripting, Web Hosting
Web-based Email, Homepage Creation and Live Help products
http://www.webumake.com