Apache 2.2 Forbidden 403 error

While configuring some virtual hosts for local development, I had some trouble with 403 forbidden error. (Apache/2.2.22)

Fix: add this to your virtualhost

<Directory /path/to/document/root/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
AuthType None
Satisfy Any
Require all granted
</Directory>

Also make sure the document root folder has search permissions (755 is fine)

Comments

Popular posts from this blog

Improve font rendering for IntelliJ IDEA / Pycharm in Ubuntu

Fix - Updated from OSX El Capitan Gold Master to Final Release, andbeta update keeps showing in AppStore