Loading ...
Sorry, an error occurred while loading the content.
 

Re: mod_perl File Extension Configuration instead of a Path Configuration

Expand Messages
  • JupiterHost.Net
    ... Thanks DJ! I did get this earlier: PerlModule Apache::Registry AddHandler perl-script .mpl PerlHandler Apache::Registry so incorporating the 2 it would be:
    Message 1 of 11 , May 4, 2004
      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
    Your message has been successfully submitted and would be delivered to recipients shortly.