From this example :
our @APACHE_MODULE_COMMANDS = (
{
name => 'MyDirective1',
func => \&MyDirective,
cmd_data => 'One',
},
{
name => 'MyDirective2',
func => \&MyDirective,
cmd_data => 'Two',
},
);
sub MyDirective {
my($self, $parms, $arg
The ->version() method on an Apache::Module isn't the module's version (from
http_config.h):
typedef struct module_struct module;
struct module_struct {
/** API version, *not* module version; check that module is
* compatible with this version of the server.
*/
int version;
S
Philippe M. Chiasson wrote:
From this example :
our @APACHE_MODULE_COMMANDS = (
{
name => 'MyDirective1',
func => \&MyDirective,
cmd_data => 'One',
},
{
name => 'MyDirective2',
func => \&MyDirective,
cmd_data => 'Two',
},
);
sub MyDirective
Stas Bekman wrote:
Philippe M. Chiasson wrote:
From this example :
our @APACHE_MODULE_COMMANDS = (
{
name => 'MyDirective1',
func => \&MyDirective,
cmd_data => 'One',
},
{
name => 'MyDirective2',
func => \&MyDirective,
cmd_data => 'Two',
},
);
sub MyDir
Philippe M. Chiasson wrote:
The ->version() method on an Apache::Module isn't the module's version
(from http_config.h):
typedef struct module_struct module;
struct module_struct {
/** API version, *not* module version; check that module is
* compatible with this version of the serve