Hasan Setiawan

Write, write, write give your wings on code!

Follow me on GitHub

Apache user group configuration

By default, apache runs as the user daemon and group daemon. This will cause permission problems when trying to access files in our home directory. About a third of the way down the httpd.conf file there are two settings to set the User and Group Apache will run under. Change these to match your user account (replace your_user with your real username), with a group of staff:


$ open -e /usr/local/etc/apache2/2.4/httpd.conf

// add the following line
User your_user
Group staff