2 # Defines editors for the windows NT module in apache 2.0
3 # The actual functions for most of these are still in core.pl
5 sub mpm_winnt_directives
8 $rv = [ [ 'CoreDumpDirectory', 0, 9, 'global', 2.0 ],
9 [ 'BindAddress Listen Port', 1, 1, 'global', 2.0, 10 ],
10 [ 'ListenBacklog', 0, 1, 'global', 2.0 ],
11 [ 'MaxRequestsPerChild', 0, 0, 'global', 2.0 ],
12 [ 'PidFile', 0, 9, 'global', 2.0 ],
13 [ 'SendBufferSize', 0, 1, 'global', 2.0 ],
14 [ 'ThreadsPerChild', 0, 0, 'global', 2.0 ] ];
15 return &make_directives($rv, $_[0], "mpm_winnt");
18 sub edit_ThreadsPerChild
21 $text{'worker_threads'},
22 &opt_input($_[0]->{'value'},"ThreadsPerChild",$text{'default'}, 4));
24 sub save_ThreadsPerChild
26 return &parse_opt("ThreadsPerChild", '^\d+$',
27 $text{'worker_ethreads'});