static int proxy_available = 0;
typedef struct {
- char *dbmfile;
- char *dbmtype;
+ const char *dbmfile;
+ const char *dbmtype;
int enabled;
} express_server_conf;
express_server_conf *sconf;
sconf = ap_get_module_config(cmd->server->module_config, &proxy_express_module);
- sconf->dbmtype = apr_pstrdup(cmd->pool, arg);
+ sconf->dbmtype = arg;
+
return NULL;
}
static const char *set_enabled(cmd_parms *cmd,
- void *dconf,
- int flag)
+ void *dconf,
+ int flag)
{
express_server_conf *sconf;
sconf = ap_get_module_config(cmd->server->module_config, &proxy_express_module);
command_table, /* table of config file commands */
register_hooks /* register hooks */
};
-