Handle hostnames with upper-case letters
[webmin.git] / apache / mod_status.pl
1 # mod_status.pl
2 # This module defines the one directive and handle for mod_status
3
4 sub mod_status_directives
5 {
6 $rv = [ [ 'ExtendedStatus', 0, 0, 'global', 1.302 ] ];
7 return &make_directives($rv, $_[0], "mod_status");
8 }
9
10 sub mod_status_handlers
11 {
12 return ("server-status");
13 }
14
15 sub edit_ExtendedStatus
16 {
17 return (1, "$text{'mod_status_msg'}",
18         &choice_input($_[0]->{'value'}, "ExtendedStatus",
19                        "off", "$text{'yes'},on", "$text{'no'},off"));
20 }
21 sub save_ExtendedStatus
22 {
23 return &parse_choice("ExtendedStatus", "off");
24 }
25
26 1;
27