perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "JupiterHost.Net" <mli...@jupiterhost.net>
Subject Re: mod_perl File Extension Configuration instead of a Path Configuration
Date Tue, 04 May 2004 17:07:23 GMT


DJ wrote:
> I dont know if this has been answered, since i deleted my email but the 
> answer is:
> 
> <Files *.mpl>
>    SetHandler perl-script
>    PerlHandler Your::Module
> </Files>

Thanks DJ!

I did get this earlier:

  PerlModule Apache::Registry
  AddHandler perl-script .mpl
  PerlHandler Apache::Registry

so incorporating the 2 it would be:

  <Files *.mpl>
     SetHandler perl-script
     PerlHandler Apache::Registry
  </Files>

After mod_perl is built as a DSO in Apache?

Is either method more preferable?

I'd do either in the main config section or in an <IfModule mod_perl.c> 
section?

TIA
> 

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Mime
View raw message