Apache Hooks at a glance

Source: Internet
Author: User
See a Japanese summary of the Apache hook function at a glance, I think for the Apache module development of children's shoes is very useful, and moved over.
Important content of this chapter: the call order of hooks is called the Order of invocation: "Initial initialization", "process", "connection", "request" about Run_all,run_first Run_first type of hook is: The return value of the called hook function is OK or decline (error), the back hook is not executed.
The Run_all type of hook is: when the return value of the called hook function is not decline (error), the loaded hook will be executed all. The parameters of the registration function ap_hook_xxx () are all the same for the parameters ap_hook_xxx (). Please refer to below for details.
Index
Initial set-up of settings
Run_all Ap_hook_pre_config ()
Run_all Ap_hook_open_logs ()
Run_all Ap_hook_post_config ()
VOID Ap_hook_optional_fn_retrieve ()
Process initialization
Run_all AP_HOOK_PRE_MPM ()
VOID Ap_hook_child_init ()
Connection
Run_first Ap_hook_create_connection ()
Run_all Ap_hook_pre_connection ()
Run_first Ap_hook_process_connection ()
Requests (Request)
Run_all Ap_hook_create_request ()
Run_all Ap_hook_post_read_request ()
Run_first Ap_hook_quick_handler ()
Run_first Ap_hook_translate_name ()
Run_first Ap_hook_map_to_storage ()
Run_all Ap_hook_header_parser ()
Run_all Ap_hook_access_checker ()

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.