run perl scrip with post form from apache

Matthew Seaman m.seaman at infracaninophile.co.uk
Sat Feb 28 08:35:44 PST 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040228/4b678c99/attachment.bin


More information about the freebsd-questions mailing list