waklog_child_config child;
+ static void *
+waklog_create_dir_config( pool *p, char *path )
+{
+ waklog_host_config *cfg;
+
+ cfg = (waklog_host_config *)ap_pcalloc( p, sizeof( waklog_host_config ));
+ cfg->configured = 0;
+ cfg->protect = 0;
+ cfg->keytab = KEYTAB;
+ cfg->keytab_principal = KEYTAB_PRINCIPAL;
+ cfg->afs_cell = AFS_CELL;
+
+ return( cfg );
+}
+
+
static void *
waklog_create_server_config( pool *p, server_rec *s )
{
cfg->keytab_principal = KEYTAB_PRINCIPAL;
cfg->afs_cell = AFS_CELL;
+#if 0
+ ap_set_module_config( s->module_config, &waklog_module, cfg);
+#endif /* 0 */
+
return( cfg );
}
module MODULE_VAR_EXPORT waklog_module = {
STANDARD_MODULE_STUFF,
waklog_init, /* module initializer */
- NULL, /* create per-dir config structures */
+ waklog_create_dir_config, /* create per-dir config structures */
NULL, /* merge per-dir config structures */
waklog_create_server_config, /* create per-server config structures */
NULL, /* merge per-server config structures */