On Thu, 5 Apr 2001, Mike Austin wrote:
> On Thu, 5 Apr 2001, Stas Bekman wrote:
>
> > % perldoc ops
> > % perldoc Opcode
>
> But this appears to be a global change, correct?
>
> Can I restict access to these commands for most directories, but still
> enable them for a few, trusted directories?
>
> " Since the ops pragma currently has an irreversible global
> effect, it is only of significant practical use with the
> `-M' option on the command line."
Mike, I've not tried this one yet. I've just read the docs :) So if you
get down on actually trying it, please share your finding with the rest of
us. Thanks!
> I can't trust my users to enter -Mopts syntax in their scripts. Can I
> pass the ops inside the <Location> stanzas in the Apache config file?
httpd.conf:
PerlSetEnv PERL5OPT -Mops=system
_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:[EMAIL PROTECTED] http://apachetoday.com http://logilune.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/