[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] [Raq3] Problems with Formmail Script
- Subject: Re: [cobalt-users] [Raq3] Problems with Formmail Script
- From: Dave Robinson <domino27@xxxxxxxxxxxx>
- Date: Sun Aug 12 19:20:08 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Aidan Bowen wrote:
> Can anyone help ?,
>
> We are new to Cobalt RaQs and not quite savvy with their setup.
>
> I have a fairly simple problem. We have several forms (Perl) which basically
> just send an e-mail with user submitted details.
>
> We have created a cgi directory (cgi-bin) in the root site directory, and
> informed the script where to find PERL (the default cobalt dir). However the
> server reports an error on submission of the form;
>
> "The server encountered an internal error or misconfiguration and was unable
> to complete your request. "
>
> This is prior to any validation checking on the forms fields.
>
> Could this be to do with SendMail ? I can't find where it is in the
> directory structure and think it needs to be defined in the form script -
> any help much appreciated.
>
> I look forward to hearing from someone.
>
> Aidan
> --
> Aidan Bowen
> TECHNICAL DIRECTOR
Try these...
#!/usr/bin/perl
$mailprog = '/usr/sbin/sendmail';
CHMOD 755
And don`t forget the referrer bit...
Dave Robinson
>
> ---------------------------------
> Solutions Inc (Ltd)
> HYPA Solutions (Ltd)
> The Joinery, 255 Old Shoreham Rd
> Hove, East sussex. BN3 7ED
> ---------------------------------
> aidan.bowen@xxxxxxxxxxxxxxxxxx
> www.solutionsinc.co.uk
> ---------------------------------
> tel : 01273 889020
> fax : 01273 889030
> ---------------------------------
>
> This message is intended only for the use of the person(s) ("The intended
> recipient(s)") to whom it is addressed. It may contain information which is
> privileged and confidential within the meaning of applicable law. If you are
> not the intended recipient, please contact the sender as soon as possible.
> The views expressed in this communication may not necessarily be the views
> held by Solutions Inc (Ltd.).
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users