02 2011 档案
摘要:apache2 的指令按输入来源分为两种:一种称为 command -directive,是在命令行下通过 -c/-C 参数输入的,一种是 resource -directive ,是在配置文件中配置的。两种指令会通过合并,保存到 指令树 conftree 中。process_command_configap_process_resource_config指令存取的步骤:1、读取文件 http.conf到内存,此操作的结果是树 ap_conftree(config.c 中定义的全局变量) 中。ap_read_config(process, ptemp, confname, &ap_co
阅读全文
摘要:_hook 数据结构Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->12//从ap_hook到ap_run3//宏AP_IMPLEMENT_HOOK_RUN_ALL(int,pre_connection,(conn_rec*c,void*csd),(c,csd),OK,DECLINED);的具体实现4//connection.c5AP_DECLARE(void)ap_hook_pre_connection(ap_HOOK_pre_connec
阅读全文
这是我的页面头部
浙公网安备 33010602011771号