This did the work for me.

sudo nano /etc/apache2/sites-enabled/000-default.conf

Also edited the vhost with the following to enable .htaccess.

<Directory /var/www/html/public/>
    Options Indexes FollowSymLinks
    AllowOverride All
    Require all granted
</Directory>
mod_rewrite Apache LAMP on DigitalOcean

Comments

comments

Tagged on: