On Fri, 25 May 2007 21:10:37 -0300
Arturo 'Buanzo' Busleiman <[EMAIL PROTECTED]> 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/