//add these lines to /etc/apache2/apache2.conf Options Indexes FollowSymLinks AllowOverride All Require all granted