Posted on

Mac OS is displaying Access Forbidden on my site

Forbidden 403, You don’t have permission to access / on this server.

This issue can be caused by several things, such as wrong permissions or missing configurations on your httpd file.

Open your terminal and copy and paste the following (enter your computer password when promoted):

https://gist.github.com/michelve/8b202f3f2521b7be9000832c12cb5a69

Then open the following file with your text editor:

/Applications/PilotKit/Sites/config/OSX/httpd.conf, and make sure the following rules exists:

https://gist.github.com/michelve/b69787319b848320e64f947ce1c18310

Then simply restart apache > sudo apachectl restart