Apache on Mac OSX El Capitan

Note to self:

To start or stop the Apache webserver on Mac OSX El Capitan, use the terminal:

sudo apachectl start

sudo apachectl stop

sudo apachectl restart

The configuration is found in /etc/apache2/httpd.conf. The default DocumentRoot directory isĀ /Library/WebServer/Documents. Additional configuration files should be put in _/etc/apache2/other/*.conf_ files.

Leave a Reply

Your email address will not be published. Required fields are marked *