On Wed, 12 Apr 2000, Kevin Murphy wrote:
> I've written an access handler which takes some custom configuration
> directives based on the instructions in chaper 8 of the Eagle book.
>
> Everything makes and installs fine, and I am able to load the module
> with a PerlModule directive, but when I try to use the directives
> defined in my module I get an error:
>
> "Invalid command 'WhiteListAllow', perhaps mis-spelled or defined by a
> module not included in the server configuration"
> package Emusic::WhiteList;
what options did you give mod_perl's Makefile.PL? how to you load
Emusic::WhiteList?
PerlModule Emusic::WhiteList
before WhiteListAllow should work.
if not, try this in httpd.conf:
<Perl>
require Emusic::WhiteList;
delete $INC{'Emusic/WhiteList.pm'};
#this is what mod_perl is supposed to do internally
</Perl>
WhiteListAllow ...