krang_apachectl
krang_apachectl start
krang_apachectl stop
krang_apachectl restart
krang_apachectl offline
This script controls the Krang Apache server. The usage of the script is the same as the normal apache ``apachectl'' script but only ``start'', ``stop'' and ``restart'' are supported. Also, ``restart'' performs a hard stop and start since a SIGHUP isn't enough for mod_perl. We've also added a command ``offline'' that stops the normal Krang Apache and restarts one to show an offline page.
Usage information can be obtained by running the script with no arguments.
If true, will cause all CGI applications to be run as true CGIs, via mod_cgi. Otherwise all Perl files will be run under mod_perl using Apache::Registry.
CGI mode is only useful for debugging during development. In production
is it inadvisable to add this option.
This option can also be turned on using the CGI_MODE environment variable.
If true, then Krang will use Devel::NYTProf and run with a single
process so that the code can be profiled. Devel::NYTProf will
print a banner indicating where the profiling data is stored and it can
be analyzed with programs like nytprofhtml.
This option can also be turned on using the PROFILE_MODE environment variable.