$Id: $

Apache2 HTTP server setup on MacOS

and Web development environment

Note: Difference from Apache2 on Ubuntu Summary: Setting files: Preparations:
  1. brew install apache2
  2. brew install emacs
  3. brew install svn
Notes: There are two apahce2s? Apache2 setup:
  1. edit /etc/apache2/httpd.conf
    1. $emacs httpd.conf
      1. set the port 80 #easy to find it.
      2. uncmment userdir.so and "Include Userdir"
  2. edit /etc/apache2/extra/httpd-userdir.conf
    1. $emacs httpd-userdir.conf
      1. set userdir public_html
  3. $sudo brew services restart httpd
  4. $sudo brew services list # to check no errors.
Reference
  1. Apache2 setup on Ubuntu

Go back to Computer