*(char **)apr_array_push(ap_server_config_defines) = apr_pstrdup(p, "MODPERL2");
void modperl_register_hooks(apr_pool_t *p){    ap_hook_pre_config(modperl_hook_pre_config,                       NULL, NULL, APR_HOOK_MIDDLE);    ap_hook_open_logs(modperl_hook_init,                      NULL, NULL, APR_HOOK_FIRST);    ap_hook_post_config(modperl_hook_post_config,                        NULL, NULL, APR_HOOK_FIRST);    ap_hook_handler(modperl_response_handler,                    NULL, NULL, APR_HOOK_MIDDLE);    ap_hook_handler(modperl_response_handler_cgi,                    NULL, NULL, APR_HOOK_MIDDLE);    ap_hook_insert_filter(modperl_output_filter_register_request,                          NULL, NULL, APR_HOOK_LAST);    ap_hook_insert_filter(modperl_input_filter_register_request,                          NULL, NULL, APR_HOOK_LAST);    ap_register_output_filter(MP_FILTER_REQUEST_OUTPUT_NAME,                              MP_FILTER_HANDLER(modperl_output_filter_handler),                              AP_FTYPE_RESOURCE);    ap_register_input_filter(MP_FILTER_REQUEST_INPUT_NAME,                             MP_FILTER_HANDLER(modperl_input_filter_handler),                             AP_FTYPE_RESOURCE);    ap_register_output_filter(MP_FILTER_CONNECTION_OUTPUT_NAME,                              MP_FILTER_HANDLER(modperl_output_filter_handler),                              AP_FTYPE_CONNECTION);    ap_register_input_filter(MP_FILTER_CONNECTION_INPUT_NAME,                             MP_FILTER_HANDLER(modperl_input_filter_handler),                             AP_FTYPE_CONNECTION);    ap_hook_pre_connection(modperl_hook_pre_connection,                           NULL, NULL, APR_HOOK_FIRST);    ap_hook_create_request(modperl_hook_create_request,                           NULL, NULL, APR_HOOK_MIDDLE);    ap_hook_post_read_request(modperl_hook_post_read_request,                              NULL, NULL, APR_HOOK_FIRST);    ap_hook_header_parser(modperl_hook_header_parser,                          NULL, NULL, APR_HOOK_FIRST);    ap_hook_child_init(modperl_hook_child_init,                       NULL, NULL, APR_HOOK_FIRST);    modperl_register_handler_hooks();}