Create file /etc/apache2/users/{username}.conf
Add contents
<Directory "/Users/{username}/Sites/">
AllowOverride All
Options Indexes MultiViews FollowSymLinks
Require all granted
</Directory>
Add your user to _www
group
$ sudo dseditgroup -o edit -a `whoami` -t user _www
Edit /etc/apache2/httpd.conf
and change User
to your username
Restart apache sudo apachectl restart