RUN_FIRSTタイプは、フック関数が「DECLINE(辞退)」を返すと、次のモジュールの同名のフック関数を呼びます。つまり、エラーが帰るか、「OK(成功)」が返るとそれ以上、他のモジュールの同名のフック関数を呼び出しません。
RUN_ALLタイプは、フック関数が「DECLINE(辞退)もしくは、「OK(成功)」を返すと、次のモジュールの同名のフック関数を呼びます。つまり、エラーが帰ると、他のモジュールの同名のフック関数を呼び出しません。
Name | Decraed | Implemented | Type | Function |
access_checker | include/http_request.h | server/request.c | RUN_ALL | int access_checker(request_rec *r) |
access_checker_ex | include/http_request.h | server/request.c | RUN_FIRST | int access_checker_ex(request_rec *r) |
auth_checker | include/http_request.h | server/request.c | RUN_FIRST | int auth_checker(request_rec *r) |
check_config | include/http_config.h | server/config.c | RUN_ALL | int check_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp, server_rec *s) |
check_user_id | include/http_request.h | server/request.c | RUN_FIRST | int check_user_id(request_rec *r) |
child_init | include/http_config.h | server/config.c | VOID | void child_init(apr_pool_t *pchild, server_rec *s) |
child_status | include/ap_mpm.h | server/mpm_common.c | VOID | void child_status(server_rec *s, pid_t pid, ap_generation_t gen, int slot, mpm_child_status state) |
create_connection | include/http_connection.h | server/connection.c | RUN_FIRST | conn_rec * create_connection(apr_pool_t *p, server_rec *server, apr_socket_t *csd, long conn_id, void *sbh, apr_bucket_alloc_t *alloc) |
create_request | include/http_request.h | server/request.c | RUN_ALL | int create_request(request_rec *r) |
default_port | include/http_protocol.h | server/protocol.c | RUN_FIRST | apr_port_t default_port(const request_rec *r) |
dirwalk_stat | include/http_request.h | server/request.c | RUN_FIRST | apr_status_t dirwalk_stat(apr_finfo_t *finfo, request_rec *r, apr_int32_t wanted) |
drop_privileges | include/mpm_common.h | server/mpm_common.c | RUN_ALL | int drop_privileges(apr_pool_t * pchild, server_rec * s) |
end_generation | include/ap_mpm.h | server/mpm_common.c | VOID | void end_generation(server_rec *s, ap_generation_t gen) |
error_log | include/http_core.h | server/log.c | VOID | void error_log(const ap_errorlog_info *info, const char *errstr) |
expr_lookup | include/ap_expr.h | server/util_expr_eval.c | RUN_FIRST | int expr_lookup(ap_expr_lookup_parms *parms) |
fatal_exception | include/ap_mpm.h | server/mpm_common.c | RUN_ALL | int fatal_exception(ap_exception_info_t *ei) |
fixups | include/http_request.h | server/request.c | RUN_ALL | int fixups(request_rec *r) |
force_authn | include/http_request.h | server/request.c | RUN_FIRST | int force_authn(request_rec *r) |
generate_log_id | include/http_log.h | server/log.c | RUN_FIRST | int generate_log_id(const conn_rec *c, const request_rec *r, const char **id) |
get_mgmt_items | include/http_core.h | server/core.c | RUN_ALL | int get_mgmt_items(apr_pool_t *p, const char * val, apr_hash_t *ht) |
get_suexec_identity | os/unix/unixd.h | os/unix/unixd.c | RUN_FIRST | ap_unix_identity_t * get_suexec_identity(const request_rec *r) |
handler | include/http_config.h | server/config.c | RUN_FIRST | int handler(request_rec *r) |
header_parser | include/http_config.h | server/config.c | RUN_ALL | int header_parser(request_rec *r) |
http_scheme | include/http_protocol.h | server/protocol.c | RUN_FIRST | const char * http_scheme(const request_rec *r) |
insert_error_filter | include/http_protocol.h | modules/http/http_protocol.c | VOID | void insert_error_filter(request_rec *r) |
insert_filter | include/http_request.h | server/request.c | VOID | void insert_filter(request_rec *r) |
insert_network_bucket | include/http_core.h | server/core.c | RUN_FIRST | apr_status_t insert_network_bucket(conn_rec *c, apr_bucket_brigade *bb, apr_socket_t *socket) |
log_transaction | include/http_protocol.h | server/protocol.c | RUN_ALL | int log_transaction(request_rec *r) |
map_to_storage | include/http_request.h | server/request.c | RUN_FIRST | int map_to_storage(request_rec *r) |
monitor | include/mpm_common.h | server/mpm_common.c | RUN_ALL | int monitor(apr_pool_t *p, server_rec *s) |
mpm | include/ap_mpm.h | server/mpm_common.c | RUN_FIRST | int mpm(apr_pool_t *pconf, apr_pool_t *plog, server_rec *server_conf) |
mpm_get_name | include/mpm_common.h | server/mpm_common.c | RUN_FIRST | const char * mpm_get_name(void) |
mpm_query | include/mpm_common.h | server/mpm_common.c | RUN_FIRST | int mpm_query(int query_code, int *result, apr_status_t *rv) |
mpm_register_timed_callback | include/mpm_common.h | server/mpm_common.c | RUN_FIRST | apr_status_t mpm_register_timed_callback(apr_time_t t, ap_mpm_callback_fn_t *cbfn, void *baton) |
note_auth_failure | include/http_protocol.h | server/protocol.c | RUN_FIRST | int note_auth_failure(request_rec *r, const char *auth_type) |
open_htaccess | include/http_config.h | server/config.c | RUN_FIRST | apr_status_t open_htaccess(request_rec *r, const char *dir_name, const char *access_name, ap_configfile_t **conffile, const char **full_name) |
open_logs | include/http_config.h | server/config.c | RUN_ALL | int open_logs(apr_pool_t *pconf,apr_pool_t *plog, apr_pool_t *ptemp,server_rec *s) |
optional_fn_retrieve | include/http_config.h | server/config.c | VOID | void optional_fn_retrieve(void) |
optional_hook_test | modules/test/mod_optional_hook_export.h | modules/test/mod_optional_hook_export.c | OPTIONAL RUN_ALL | int optional_hook_test(const char *) |
post_config | include/http_config.h | server/config.c | RUN_ALL | int post_config(apr_pool_t *pconf,apr_pool_t *plog, apr_pool_t *ptemp,server_rec *s) |
post_perdir_config | include/http_request.h | server/request.c | RUN_ALL | int post_perdir_config(request_rec *r) |
post_read_request | include/http_protocol.h | server/protocol.c | RUN_ALL | int post_read_request(request_rec *r) |
pre_close_connection | include/http_connection.h | server/connection.c | RUN_ALL | int pre_close_connection(conn_rec *c) |
pre_config | include/http_config.h | server/config.c | RUN_ALL | int pre_config(apr_pool_t *pconf,apr_pool_t *plog, apr_pool_t *ptemp) |
pre_connection | include/http_connection.h | server/connection.c | RUN_ALL | int pre_connection(conn_rec *c, void *csd) |
pre_mpm | include/scoreboard.h | server/scoreboard.c | RUN_ALL | int pre_mpm(apr_pool_t *p, ap_scoreboard_e sb_type) |
pre_read_request | include/http_protocol.h | server/protocol.c | VOID | void pre_read_request(request_rec *r, conn_rec *c) |
process_connection | include/http_connection.h | server/connection.c | RUN_FIRST | int process_connection(conn_rec *c) |
protocol_get | include/http_protocol.h | server/protocol.c | RUN_FIRST | const char * protocol_get(const conn_rec *c) |
protocol_propose | include/http_protocol.h | server/protocol.c | RUN_ALL | int protocol_propose(conn_rec *c, request_rec *r, server_rec *s, const apr_array_header_t *offers, apr_array_header_t *proposals) |
protocol_switch | include/http_protocol.h | server/protocol.c | RUN_FIRST | int protocol_switch(conn_rec *c, request_rec *r, server_rec *s, const char *protocol) |
quick_handler | include/http_config.h | server/config.c | RUN_FIRST | int quick_handler(request_rec *r, int lookup_uri) |
resume_connection | include/mpm_common.h | server/mpm_common.c | VOID | void resume_connection(conn_rec *c, request_rec *r) |
suspend_connection | include/mpm_common.h | server/mpm_common.c | VOID | void suspend_connection(conn_rec *c, request_rec *r) |
test_config | include/http_config.h | server/config.c | VOID | void test_config(apr_pool_t *pconf, server_rec *s) |
translate_name | include/http_request.h | server/request.c | RUN_FIRST | int translate_name(request_rec *r) |
type_checker | include/http_request.h | server/request.c | RUN_FIRST | int type_checker(request_rec *r) |