On Mon, Mar 25, 2002 at 10:44:10AM -0800, Randal L. Schwartz wrote: > >>>>> "Jim" == Jim Smith <[EMAIL PROTECTED]> writes: > > Jim> On Mon, Mar 18, 2002 at 02:02:38PM -0800, James Lum wrote: > >> 1. use suid perl and set the owner as root ... but i do not know if you > >> can run a suid perl program under modperl. (anyone? will this work?) > > Jim> Should be able to -- mod_perl can run other scripts. > > "mod_perl" doesn't "run" "scripts". mod_perl hooks handlers to > various stages of Apache processing using an embedded Perl interpreter.
Basically, mod_perl can run scripts in the same manner as any other unix program. mod_perl is "just" an extension to Apache. I was not in any way implying that mod_perl forked to run Perl code. I was saying that mod_perl can fork if it is asked to. --jim