HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

apachectl — Apache HTTP Server control interface for macOS. More information: <https://keith.github.io/xcode-man

Submitted by: @import:tldr-pages··
0
Viewed 0 times
serverhttpcommandinterfacecliapachecontrolapachectl
macos

Problem

How to use the apachectl command: Apache HTTP Server control interface for macOS. More information: <https://keith.github.io/xcode-man-pages/apachectl.8.html>.

Solution

apachectl — Apache HTTP Server control interface for macOS. More information: <https://keith.github.io/xcode-man-pages/apachectl.8.html>.

Start the org.apache.httpd launchd job:
apachectl start


Stop the launchd job:
apachectl stop


Stop, then start launchd job:
apachectl restart

Code Snippets

Start the `org.apache.httpd` launchd job

apachectl start

Stop the launchd job

apachectl stop

Stop, then start launchd job

apachectl restart

Context

tldr-pages: osx/apachectl

Revisions (0)

No revisions yet.