|Perl Monk, Perl Meditation|
apache 2.4 mod_perl permission denied on standard modulesby Crackers2 (Parson)
|on Aug 28, 2015 at 18:20 UTC||Need Help??|
Crackers2 has asked for the wisdom of the Perl Monks concerning the following question:
I'm running on SLES12, with apache 2.4.10 and mod_perl 2.0.8
In a vhost config file, I have a "PerlFixupHandler MyHandler" directive. Myhandler.pm is in /etc/apache2/script
If I do a perl -e'use MyHandler' from the commandline, everything works fine. But when it gets used from the server, it fails and is logging this in the error_log:
If I comment out the reference to Digest::SHA, it just fails on the next module.
For debugging, I added a BEGIN block to dump INC and to try and read the SHA.pm file, and that does not appear to cause any errors.
This configuration used to work fine on apache 2.2 ; I did some minimal updates to the configuration files for the new authentication stuff in 2.4, but nothing related to perl.
Any idea on what's wrong and how to fix it?
Edit: Here's the start of the .pm in question: