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

Top things to do after installing Manjaro KDE

Compare integer variable in django templates

PIP - upgrade all packages from requirements.txt (interactively)