in reply to mod-perl configuration under Apache2

I was in this very same situation yesterday. There's a lot of conflicting documentation out there, and the Ubuntu package for mod_perl2 doesn't make any changes to apache conf, as far as I can tell.

The problem I eventually ran into is that Apache::Registry depends on mod_perl, and doesn't recognize mod_perl2 as fulfilling that dependency (Which, I suppose it doesn't)

Using ModPerl::Registry as your handler and cleaning up your conf, as suggested by asz, should solve your problem.

  • Comment on Re: mod-perl configuration under Apache2

Replies are listed 'Best First'.
Re^2: mod-perl configuration under Apache2
by Bruce32903 (Scribe) on Mar 07, 2007 at 17:47 UTC
    I don't quite follow the second paragraph. Should I be installing mod_perl instead of mod_perl2?

      no, mod_perl is for Apache 1.x and mod_perl2 is for Apache 2.x. they are architecturally different so mod_perl (version 1) won't work on Apache 2.

      on Ubuntu 6.10 you should have libapache2-mod-perl2 installed.

      :)))))