RE Mod_perl question

From: Jim <jsw@wadell.org>
Date: Fri Sep 02 2005 - 07:17:01 AKDT

/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/mod_perl.pm
1.9916

I am under the impresion that the very late 1.99 mod_perl releases are
neither fish nor fowl. I will try a "real" 2.0 release and see if it
works better.

Thanks

Jim

>Run perldoc -q 'include path' for documentation on how to modify @INC.
>Generally the method I prefer is to set the PERL5LIB environmental variable
>in the Apache configuration. This may require modifying suexec if you're
>using that to restrict your CGI scripts.
>
>The alternative, under mod_perl, is to modify @INC in a file loaded by the
>PerlRequire directive. This requires that you run your CGI script under
>mod_perl itself, rather than as a standalone script, using something like
>Apache::Registry or Apache::PerlRun.
>
>Hopefully that gave you some ideas. If you need specifics let me know.
>
>--
>Michael Fowler
>www.shoebox.net
>
>------------------------------
>
>Date: Wed, 31 Aug 2005 18:18:12 -0800
>From: Michael Fowler <michael@shoebox.net>
>Subject: Re: More Mod_perl woes
>
>On Sun, Aug 28, 2005 at 09:04:17PM -0800, Jim wrote:
>
>
>>Trying to get apache::gallery going on a new box. Almost there, but...
>>
>>I am getting an error that mod_perl cannot find a module. The error
>>follows, and the locate Apache.pm which show that the module is happly
>>located in /usr/lib/perl5/5.8.5/CGI. Anyone want to take a hack at
>>enlightening my poor old brain? I am using mod_perl 1.99_16-4 on a
>>CentOS 4.1 box.
>>
>>
>
>/usr/lib/perl5/5.8.5/CGI/Apache.pm is actually the module CGI::Apache. You
>don't have an Apache.pm installed on your system, nor should you, because
>you're using mod_perl2. The problem is Apache::Gallery seems to think
>you're running mod_perl1. There could be several reasons for this, but the
>most immediate is probably that mod_perl.pm is from the wrong version of
>mod_perl; what does the following print out?
>
> perl -Mmod_perl -wle 'print $INC{"mod_perl.pm"}; print mod_perl->VERSION'
>
>Incidentally, there is a more recent version of mod_perl2. You might want
>to consider installing it before you get too far into this. That way you
>don't have to do even more testing when you want to upgrade.
>
>--
>Michael Fowler
>www.shoebox.net
>
>
>
>
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/mod_perl.pm
1.9916

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Fri Sep 2 07:17:11 2005

This archive was generated by hypermail 2.1.8 : Fri Sep 02 2005 - 07:17:11 AKDT