Yes, I did try the config shown in the docs.  See snipets below.  In Apache 1, the differences were, of cource PerlModule Apache   and PerlModule Apache::Registry
and those lines listed under 'old' below:
 
PerlModule Apache2
PerlModule ModPerl::Registry
<Directory "/path/to/bin">
        Options Indexes FollowSymLinks MultiViews ExecCGI
        AllowOverride AuthConfig
        Order allow,deny
        Allow from all
<Files "*">
# new
      SetHandler perl-script
      PerlResponseHandler ModPerl::Registry
      AddHandler perl-script .pl
      PerlOptions +ParseHeaders
      Options +ExecCGI
# or this for new?
#      SetHandler perl-script
#      PerlHandler ModPerl::Registry
#      PerlOptions +ParseHeaders
#      Options +ExecCGI
# old
#   SetHandler perl-script
#   PerlHandler Apache::Registry
#   Options ExecCGI
#   PerlSendHeader ON
</Files>
</Directory>


>>> "Perrin Harkins"  03/12/04 03:04PM >>>
[ please keep it on the list ]

On Fri, 2004-03-12 at 17:02, Charlie Smith wrote:
> I guess I never know how to configure mod_perl without using the Files
> tag, although experimented quite a bit trying to find out.   I've
> searched the docs you mention and tried some things, but still no
> ENV{MOD_PERL}.  Any ideas?

Did you try the configuratin shown in the ModPerl::Registry docs?  Can
you post the relevant parts of your httpd.conf?

- Perrin


Reply via email to