Httpd on Mac

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Installation

Httpd Installation on Mac

Start

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