Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Feb 2004 12:17:34 -0500
From:      "fbsd_user" <fbsd_user@a1poweruser.com>
To:        "Matthew Seaman" <m.seaman@infracaninophile.co.uk>
Cc:        "freebsd-questions@FreeBSD. ORG" <freebsd-questions@freebsd.org>
Subject:   RE: run perl scrip with post form from apache
Message-ID:  <MIEPLLIBMLEEABPDBIEGEECPFNAA.fbsd_user@a1poweruser.com>
In-Reply-To: <20040228163534.GA2785@happy-idiot-talk.infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
All ready had sim.pl set as 770 and owner as www and group as wheel

-----Original Message-----
From: owner-freebsd-questions@freebsd.org
[mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Matthew
Seaman
Sent: Saturday, February 28, 2004 11:36 AM
To: JJB
Cc: Marty Landman; freebsd-questions@FreeBSD. ORG
Subject: Re: run perl scrip with post form from apache

On Sat, Feb 28, 2004 at 11:11:19AM -0500, JJB wrote:

> The httpd-error.log has these messages now
>
> (2)No such file or directory: exec of /usr/local/www/data/sim.pl
> failed
> [client ] Premature end of script headers:
> /usr/local/www/data/sim.pl
>
> The sim.pl file is in that directory and it was given to me as am
> working script.

Check the ownership/permissions on the sim.pl file -- sounds like
the
apache process doesn't have permission to read and/or execute the
file.  You probably want it to be mode 555 or 550 with the group set
to the same as the apache process.

        Cheers,

        Matthew

--
Dr Matthew J Seaman MA, D.Phil.                       26 The
Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7
1TH UK



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?MIEPLLIBMLEEABPDBIEGEECPFNAA.fbsd_user>