403 Forbidden after Upgrade to Ubuntu 13.10

This is one for the “read your changelog”-category. After upgrading to Ubuntu 13.10 you will notice that your Apache starts throwing 403 forbidden at you. The reason behind this is pretty simple, the Apache version changed to 2.4 and there are a lot of things to have a look at (http://httpd.apache.org/docs/current/upgrading.html).

In this particular case I assume you had your working dev-setup with something like:

1
2
3
4
5
6
7
8
9
10
11
NameVirtualHost devstuff:80
<VirtualHost devstuff:80>
        DocumentRoot /my/folder/devstuff
        <Directory /my/folder/devstuff>
                Options +Indexes +FollowSymLinks +MultiViews
                AllowOverride all
                Order allow,deny
                Allow from all
        </Directory>
</VirtualHost>

The following part is what causes your problem. In Apache 2.4 the configuration has changed from

Order allow,deny
Allow from all

to

Require all granted

Change this, restart and you are done =)

Thanks to

403 Forbidden after Upgrade to Ubuntu 13.10

Ciao