+static const char *suphp_handle_cmd_add_handler(cmd_parms *cmd, void *mconfig,
+ const char *arg)
+{
+ suphp_conf *cfg = (suphp_conf *) mconfig;
+ // Mark active handler with '1'
+ apr_table_set(cfg->handlers, arg, "1");
+
+ return NULL;
+}
+
+
+static const char *suphp_handle_cmd_remove_handler(cmd_parms *cmd,
+ void *mconfig,
+ const char *arg)
+{
+ suphp_conf *cfg = (suphp_conf *) mconfig;
+ // Mark deactivated handler with '0'
+ apr_table_set(cfg->handlers, arg, "0");
+
+ return NULL;
+}
+
+