>>>>> On Mon, 25 Mar 2002 15:17:06 -0600, James G Smith <[EMAIL PROTECTED]> said:

JS> And the sky isn't blue, but the results are the same.

JS> mod_perl can't run scripts.

JS> Scripts can be run from mod_perl.

JS> More than that, set-uid scripts can be run from mod_perl and offer
JS> one of the better ways of doing things that require root privileges.

Results are not same. Basically Apache::Registry (handler used with
mod_perl to emulate execution of scripts) just opens file which
contains script, evals it as big subroutine and calls that
subroutine. Opening and reading set-uid file which contains script
doesn't give automagically root rights to instance of apache process
which handles request.

-- 
o    Ilya Martynov => http://martynov.org/    o
o    TIV.net       => http://tiv.net/         o

Reply via email to