1 handle 概述
2 hanle 处理流程
ap_invoke_handler(r);
1 handle 数据结构
2 责任函数
AP_IMPLEMENT_HOOK_RUN_FIRST(int, handler, (request_rec *r),
(r), DECLINED)
AP_IMPLEMENT_HOOK_RUN_FIRST(int, quick_handler, (request_rec *r, int lookup),
(r, lookup), DECLINED)
3 示例: proxy_handle
ap_hook_handler(proxy_handler, NULL, NULL, APR_HOOK_FIRST);
ap_run_handle
proxy_detect(request_rec *r)
proxy_run_scheme_handler(r, worker, conf, url, NULL, 0);
参考资料:
http://httpd.apache.org/docs/current/en/handler.html