[wplug] CGI + C ?
Tom Rhodes
trhodes at FreeBSD.org
Wed May 11 20:22:29 EDT 2005
On Wed, 11 May 2005 20:14:46 -0400
Zachary Uram <netrek at gmail.com> wrote:
> We are allowed to run CGI scripts (Perl, PHP, etc.) but they must be
> end in .cgi suffix and they must be `chmod +x` and the path to
> executable should be at the top: `#!/bin/perl` etc..
>
> I tested this with Perl and PHP and it is working fine but I've run
> into a snag trying to run compiled C programs. Is it possible to make
> a SH script `#!/bin/sh` that calls the C program? Or way to do this in
> a perl script?
${ABSOLUTE_PATH_TO_C_PROGRAM} -flag -more_flags
in sh(1).
--
Tom Rhodes
More information about the wplug
mailing list