run perl scrip with post form from apache

Matthew Seaman m.seaman at infracaninophile.co.uk
Sat Feb 28 09:43:32 PST 2004


On Sat, Feb 28, 2004 at 12:17:34PM -0500, fbsd_user wrote:
> All ready had sim.pl set as 770 and owner as www and group as wheel

Ah.  Then check the #! line at the top of the script -- it should read:

    #!/usr/bin/perl

(possibly with a few flags appended).  Make sure you can run sim.pl
from the command line -- it will probably just sit there waiting for
input, but if you hit Ctrl-D it should print something out.  Running
'perl -cw' on the script might be a good idea as well.

	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/10d1fcf8/attachment.bin


More information about the freebsd-questions mailing list