On Nov 6, 2007 3:37 PM, Collin Monahan <[EMAIL PROTECTED]> wrote:
>
> I have googled around quite a bit but haven't found anything for this.
>
> Using Apache 2.2.3, mod_perl 2.0.2-2.4, both are from Debian packages.
>
> I am not using handlers, just scripts, and so I have nothing to shift.
> Also, the Apache2::requestutil stuff doesn't work.
>
> $r = shift; # $r will be undefined

Are you sure you're running under mod_perl?  Check $ENV{MOD_PERL}.  If
you are, and you don't get $r passed in, then the Debian packages are
probably broken.  Compiling from source would fix it.  It might also
be worth showing us your httpd.conf in case the setup for
ModPerl::Registry is incorrect.

- Perrin

Reply via email to