Lines 116-121
Link Here
|
116 |
return NULL; |
116 |
return NULL; |
117 |
} |
117 |
} |
118 |
|
118 |
|
|
|
119 |
static const char *set_scoreboard_display_hostname(cmd_parms *cmd, void *dummy, int arg) |
120 |
{ |
121 |
const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY); |
122 |
if (err != NULL) { |
123 |
return err; |
124 |
} |
125 |
ap_scoreboard_display_hostname = arg; |
126 |
return NULL; |
127 |
} |
128 |
|
119 |
static const char *set_reqtail(cmd_parms *cmd, void *dummy, int arg) |
129 |
static const char *set_reqtail(cmd_parms *cmd, void *dummy, int arg) |
120 |
{ |
130 |
{ |
121 |
const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY); |
131 |
const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY); |
Lines 131-136
Link Here
|
131 |
{ |
141 |
{ |
132 |
AP_INIT_FLAG("ExtendedStatus", set_extended_status, NULL, RSRC_CONF, |
142 |
AP_INIT_FLAG("ExtendedStatus", set_extended_status, NULL, RSRC_CONF, |
133 |
"\"On\" to enable extended status information, \"Off\" to disable"), |
143 |
"\"On\" to enable extended status information, \"Off\" to disable"), |
|
|
144 |
AP_INIT_FLAG("ScoreBoardDisplayHostname", set_scoreboard_display_hostname, NULL, RSRC_CONF, |
145 |
"\"On\" to enable displaying the Hostname that was requested instead of ServerName in the scoreboards VHost field, \"Off\" to disable"), |
134 |
AP_INIT_FLAG("SeeRequestTail", set_reqtail, NULL, RSRC_CONF, |
146 |
AP_INIT_FLAG("SeeRequestTail", set_reqtail, NULL, RSRC_CONF, |
135 |
"For verbose requests, \"On\" to see the last 63 chars of the request, " |
147 |
"For verbose requests, \"On\" to see the last 63 chars of the request, " |
136 |
"\"Off\" (default) to see the first 63 in extended status display"), |
148 |
"\"Off\" (default) to see the first 63 in extended status display"), |