Re: [Maypole] mod_perl configuration without <perl></perl> directives

From: Marc Mims (marc at questright.com)
Date: Fri Oct 29 2004 - 03:13:16 BST


* Austin Frank <austin.frank at gmail.com> [041028 00:04]:
> I can use SetHandler and PerlHandler in the .htaccess file for
> public_html/beerdb, but I cannot tell mod_perl to use
> cgi-bin/BeerDB.pm by using the
> <Perl>
> use lib '/home/aufrank/cgi-bin';
> </Perl>
> suggested in all of the documentation.
>
> Is there a way to load cgi-bin/BeerDB.pm without <perl></perl>
> directives? Possibly PerlRequire or PerlModule?

If all you need the <Perl/> section for is the "use lib" line, you can
do this:

   PerlSetEnv PERL5LIB "/home/aufrank/cgi-bin"

        -Marc

_______________________________________________
maypole mailing list
maypole at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:56 GMT