in reply to Re^3: Trying to use Apache2::Module throws an Apache exception
in thread Trying to use Apache2::Module throws an Apache exception

I've created a stripped down httpd.conf and it's definitely the call to ::add that's triggering it:
my @directives = ( { name => 'JournalsTrans', }, ); Apache2::Module::add(__PACKAGE__, \@directives);
All httpd.conf needs is:
PerlRequire Journals::Trans JournalsTrans parm1 parm2
I should probably file a bug on the Apache2::Module page.

Replies are listed 'Best First'.
Re^5: Trying to use Apache2::Module throws an Apache exception
by hippo (Archbishop) on Sep 08, 2017 at 09:06 UTC
      Sorry, it's there. Omission while trying to craft something legible. I've filed a bug on the mod_perl2 CPAN. Is epel the one true source for the mod_perl RPM? I'm torn as to whether to build my own RPM. I got 25% of the way there last night. It's been 20 years since I did that! I suppose I could try on my Ubuntu VM.
        Is epel the one true source for the mod_perl RPM?

        Sorry, I have no idea. Having been bitten by a problematic RedHat mod_perl RPM many years ago I have studiously avoided them since and have always compiled from source. (I rarely use the stock RedHat Apache either and much prefer to build that from source too)

        For those following along, here's the bug report raised by davehodg. You might want to mention there that you've used PerlLoadModule otherwise that's what respondents would likely suggest.