Joomla SEF URLs not working on Ubuntu
I have a droplet running Apache/2.4.18 (Ubuntu) and I have a Joomla 3.6.2 installation.
The website works fine with SEF URL rewriting disabled but if I enable URL rewriting then my pages (other than the home page) give a 404 not found error.
I have checked that mod_rewrite is running and it is.
I have built over 100 Joomla websites and never had this problem so I'm not sure what to try next.