There are two ARexx scripts provided in the "Amiga specific additional files" archieve, called
starthttpd
and stophttpd
. Make sure to set the "s"-Flag.
Apache needs up to a minute to shutdown all
childprocesses, so wait before closing down Amitcp or Miami.
If you need any commandline options in the starthttpd script, just put them right
after the httpd command. For example:
ADDRESS COMMAND 'run >T:httpd.pid httpd -f /configs/httpd.conf'
.
Another way to start httpd is from a shell. Just open a shell, cd to Apache:
and type: httpd [options]
. Beware that Amiga-Apache will not detach!
Be sure to read also the non-Amiga manual on this topic.