MacOS XAMPP Access Forbidden Error

1
2
3
4
5
6
7
Access forbidden!

You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.

If you think this is a server error, please contact the webmaster.

Error 403

Solution:

Edit /Applications/XAMPP/etc/httpd.conf, replace:

1
2
User daemon
Group daemon

with:

1
2
User <yourUserName>
Group daemon