Handle hostnames with upper-case letters
[webmin.git] / apache / save_global.cgi
1 #!/usr/local/bin/perl
2 # save_global.cgi
3 # Save some type of global options
4
5 require './apache-lib.pl';
6 &ReadParse();
7 $access{'global'}==1 || &error($text{'global_ecannot'});
8 $access_types{$in{'type'}} ||
9         &error($text{'etype'});
10 $conf = &get_config();
11 @edit = &editable_directives($in{'type'}, 'global');
12
13 &error_setup(&text('efailed', $text{"type_$in{'type'}"}));
14 &parse_inputs(\@edit, $conf, $conf);
15 &webmin_log("global", $in{'type'}, undef, \%in);
16
17 &redirect("");
18