Skip to content

Commit 480b14f

Browse files
author
root
committed
Apache 2.4 update
1 parent 87ba3dd commit 480b14f

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

README

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,7 @@ What is it?
99

1010
How to use it ?
1111

12-
Load "mod_status" module and activate the "ExtendedStatus"
13-
14-
LoadModule status_module modules/mod_status.so
15-
ExtendedStatus On
16-
17-
them load mod_status_text and to enable it, add the following lines into any config file:
12+
Load mod_status_text and to enable it, add the following lines into any config file:
1813

1914
LoadModule status_text_module modules/mod_status_text.so
2015
<Location /server-status-text>

mod_status_text.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
*
2020
* Original source by Mark Cox, mark@ukweb.com, November 1995
2121
* V1.0 by Mathieu CARBONNEAUX, 06/08/2010, Full Text fork for only machine automatique parsing
22-
* V1.1 by Mathieu CARBONNEAUX, 22/10/2010, Full Text fork for only machine automatique parsing + runtime log statistique
22+
* V1.1 by Mathieu CARBONNEAUX, 22/10/2010, add realtime log statistique
23+
* V1.2 by Mathieu CARBONNEAUX, 27/10/2013, add httpd 2.4 support
2324
*/
2425

2526
#define CORE_PRIVATE
@@ -1407,10 +1408,11 @@ int status_text_create_scoreboard(apr_pool_t *p, ap_scoreboard_e sb_type)
14071408

14081409
static void register_hooks(apr_pool_t *p)
14091410
{
1410-
static const char * const aszPre[]={ "mod_status.c",NULL };
1411+
//static const char * const aszPre[]={ "mod_status.c",NULL };
14111412
ap_hook_log_transaction(runtime_statistique,NULL,NULL,APR_HOOK_MIDDLE);
14121413
ap_hook_handler(status_text_handler, NULL, NULL, APR_HOOK_MIDDLE);
1413-
ap_hook_post_config(status_text_init, aszPre, NULL, APR_HOOK_MIDDLE);
1414+
//ap_hook_post_config(status_text_init, aszPre, NULL, APR_HOOK_MIDDLE);
1415+
ap_hook_post_config(status_text_init, NULL, NULL, APR_HOOK_MIDDLE);
14141416
ap_hook_child_init(status_text_child_init, NULL, NULL, APR_HOOK_MIDDLE);
14151417
ap_hook_pre_mpm(status_text_create_scoreboard, NULL, NULL, APR_HOOK_MIDDLE);
14161418
}

0 commit comments

Comments
 (0)