Httpd on Mac: Difference between revisions
Jump to navigation
Jump to search
(→Start) |
|||
Line 4: | Line 4: | ||
{{Internal|Httpd Installation on Mac|Httpd Installation on Mac}} | {{Internal|Httpd Installation on Mac|Httpd Installation on Mac}} | ||
=Start= | =Start= | ||
<syntaxhighlight lang='bash'> | |||
/opt/brew/opt/httpd/bin/httpd -D FOREGROUND | |||
</syntaxhighlight> | |||
=Start at Boot= | =Start at Boot= |
Revision as of 02:28, 29 December 2023
Internal
Installation
Start
/opt/brew/opt/httpd/bin/httpd -D FOREGROUND
Start at Boot
sudo brew services start httpd
Directory Layout
/opt └── brew ├── Cellar │ └── httpd │ └── 2.4.58 │ └── bin │ └── httpd ├── etc │ └── httpd │ ├── httpd.conf # Main configuration file │ └── extra │ └── httpd-ssl.conf ├── opt │ └── httpd │ └── bin │ └── httpd └── var ├── www # Document root │ └── index.html │ └── homebrew └── linked └── httpd