i have Ubuntu 18.04 and have Apache 2.4.29
i have
<VirtualHost *:80> ServerName blah.com DocumentRoot /var/www/html DirectoryIndex index.html index.php ... <Directory /var/www/html> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory>
</VirtualHost>in /var/www/html/test i have index.html
but when I go to it shows me a 403 Forbidden error. I can however go to and it loads the page.
Any ideas where I can look to see what option i'm missing? thanks
21 Answer
sudo chown -R www-data:www-data /var/www/html try this code
403 Forbidden its mean you don't have permission maybe its help to you
1check you .htaccess as well