projects
/
webmin.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Handle hostnames with upper-case letters
[webmin.git]
/
apache
/
stop.cgi
1
#!/usr/local/bin/perl
2
# stop.cgi
3
# Stop the running apache server
4
5
require './apache-lib.pl';
6
&ReadParse();
7
&error_setup($text{'stop_err'});
8
9
$access{'stop'} || &error($text{'stop_ecannot'});
10
$err = &stop_apache();
11
&error($err) if ($err);
12
sleep(1);
13
&webmin_log("stop");
14
&redirect($in{'redir'});
15