I'm trying to add a directive to apache's httpd.conf, straight out of the page 
at 
http://perl.apache.org/docs/2.0/user/config/custom.html#Creating_and_Using_Custom_Configuration_Directives
 
<http://perl.apache.org/docs/2.0/user/config/custom.html#Creating_and_Using_Custom_Configuration_Directives>:
package Journals::Trans;

use strict;
use warnings FATAL => 'all';
  
use Apache2::Module ();
use Apache2::Directive ();
  
my @directives = (
                  {
                   name         => 'JournalsTrans',                
                  },
                 );

Apache2::Module::add(__PACKAGE__, \@directives);

sub JournalsTrans {
  my ($self, $parms, @args) = @_;
}

[download] 
<http://www.perlmonks.org/?displaytype=displaycode;part=1;abspart=1;node_id=1198856>Starting
 apache throws an exception:
Thu Sep 07 11:19:58.780223 2017 
<http://www.perlmonks.org/?node=Thu%20Sep%2007%2011%3A19%3A58.780223%202017> 
core:crit <http://www.perlmonks.org/?node=core%3Acrit> pid 15028 
<http://www.perlmonks.org/?node=pid%2015028> AH00102: Thu Sep 07 11:19:58 2017 
<http://www.perlmonks.org/?node=Thu%20Sep%2007%2011%3A19%3A58%202017> file 
config.c, line 581, assertion "total_modules < conf_vector_length" failed
Any idea what caused it? 

 Ta,

Reply via email to