sudo php artisan optimize:clear
sudo php artisan cache:clear
sudo a2enmod rewrite # 1.
sudo systemctl restart apache2 # 2.
# 3. edit /etc/apache2/sites-enabled/000-default
# => make root directory var/www/html/public
# 4. Add
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>