Upgrading Apache to Version 2.4 on Ubuntu: Lessons Learned
Last updated:Some things to watch out for when upgrading Apache from earlier versions (2.2 most likely) to version 2.4.
virtual hosts
all entries under
/etc/apache2/sites-available
must now end in".conf"
. In addition, the commandsa2ensite
anda2dissite
take the site name without".conf"
at the end. For instance, if you create a Virtual Host definition in filefoo.conf
you should callsudo a2ensite foo
to enable it.references