ap_hook_insert_filter(modperl_output_filter_register, NULL, NULL, AP_HOOK_LAST);  ap_register_output_filter(MODPERL_OUTPUT_FILTER_NAME, modperl_output_filter_handler, AP_FTYPE_CONTENT);  ap_hook_post_config(modperl_hook_post_config, NULL, NULL, AP_HOOK_MIDDLE);
void modperl_register_hooks(void){    /* XXX: should be pre_config hook or 1.xx logic */    ap_hook_open_logs(modperl_hook_init, NULL, NULL, AP_HOOK_MIDDLE);    modperl_register_handler_hooks();}