Hi all,
I'm using CGI.pm in Authentication phase (CGI 3.00/Apache 2.0.47/mod_perl
1.99_10). I've configured a location with lines like:
<Location /foo>
SetHandler perl-script
PerlResponseHandler Foo.pm
PerlAuthenHandler AuthFoo.pm
</Location>
>From docs, it seems that it's necessary to set:
PerlOptions +GlobalRequest
only when using 'modperl' handler type because for 'perl-script' Location is
enabled by default.
However I've "Global $r object is not available" in my error log.
It's necessary to set a +GlobalRequest option in order to use CGI.pm in phases
other than Response? (adding PerlOptions +GlobalRequest all works fine).
by
- Enrico
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html