Apache Localhost 403 Forbidden with macOS Sierra

doncadavona picture doncadavona · Sep 22, 2016 · Viewed 48.2k times · Source

macOS Sierra update made my Apache's localhost and now is inaccessible. I can only access localhost/. But sub-folders under localhost/<other-directory>/ are not and a "403 forbidden access" error is shown.

Answer

Muel picture Muel · Oct 14, 2016

Please check /private/etc/apache2/extra/httpd-userdir.conf file.

change

#Include /private/etc/apache2/users/*.conf

to

Include /private/etc/apache2/users/*.conf

and restart apache.