Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Feb 2004 16:35:34 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        JJB <Barbish3@adelphia.net>
Cc:        "freebsd-questions@FreeBSD. ORG" <freebsd-questions@freebsd.org>
Subject:   Re: run perl scrip with post form from apache
Message-ID:  <20040228163534.GA2785@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <MIEPLLIBMLEEABPDBIEGCECNFNAA.Barbish3@adelphia.net>
References:  <6.0.0.22.0.20040228094622.10d7de88@pop.face2interface.com> <MIEPLLIBMLEEABPDBIEGCECNFNAA.Barbish3@adelphia.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--PEIAKu/WMn1b1Hv9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

> The httpd-error.log has these messages now
>=20
> (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
>=20
> 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

--=20
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

--PEIAKu/WMn1b1Hv9
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAQMNWdtESqEQa7a0RAgl6AJ49H1EG5zcA6o5sAMGkftkGPbEijACfQIlr
LXgj0iBwaVdNMiW2InIEH4U=
=AIHO
-----END PGP SIGNATURE-----

--PEIAKu/WMn1b1Hv9--



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