We use the Ubuntu biannual releases as reminder to do backups. Backup; upgrade; work through the bugs. Just upgraded to 13.10 Saucy Salamander without noticing much change. Played with Unity for an hour or so, to see if it had become amazing; then switched back to Xmonad, and back to work on my website project.
Ah! Local websites not working. I just got the default page for my local apache instance.
First off I tried to re-enable the site with ‘a2ensite’, which complained that my config file didn’t exist. But it was looking for the file with ‘.conf’ extension. Easily fixed.
Next I was told permission to access the site was denied by the server configuration. At this point I got derailed. I thought there was something wrong with my virtual host setup. Lots of websites told me I had to have a ‘NameVirtualHost’ directive. So I added one. And was then told by apache that this had no effect and would be removed in future.
Although this was a change, the conf files had been upgraded properly, as you’d hope. Problem was, of course, with my virtual host files. I have worked round the permission error by adding
<Directory "">; Options All AllowOverride All Require all granted </Directory>