mirror of
https://github.com/webmin/webmin.git
synced 2025-07-21 23:40:34 +00:00
14 lines
315 B
Perl
Executable File
14 lines
315 B
Perl
Executable File
#!/usr/local/bin/perl
|
|
# start.cgi
|
|
# Start apache with the server root from the config files
|
|
|
|
require './apache-lib.pl';
|
|
&ReadParse();
|
|
&error_setup($text{'start_err'});
|
|
$access{'stop'} || &error($text{'start_ecannot'});
|
|
$err = &start_apache();
|
|
&error($err) if ($err);
|
|
&webmin_log("start");
|
|
&redirect($in{'redir'});
|
|
|