go to /etc/apache2/sites-available/000-default.conf Change here: <Directory /var/www/html/> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory>