httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: module SIGSEGV's on config
Date Sat, 26 May 2007 00:55:23 GMT
On Fri, 25 May 2007 21:10:37 -0300
Arturo 'Buanzo' Busleiman <buanzo@buanzo.com.ar> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> 
> Hi group!
> 
> I have this code that manages my modules configuration. The three
> declared directives should go in global or virtualhost (not at
> Directory, etc).

> static void *create_auth_openpgp_server_config(apr_pool_t *p,

You're (correctly) using server config.

> static const command_rec auth_openpgp_cmds[] = {
>     AP_INIT_FLAG("OpenPGPEngine", ap_set_flag_slot,
>     (void *)APR_OFFSETOF(AuthOpenPGPConfig,bEnabled), RSRC_CONF,
>     "Enable OpenPGP Auth on this host"),

You can't use ap_set_*_slot with server config.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

Mime
View raw message