Upgrading Apache to Version 2.4 on Ubuntu: Lessons Learned

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 commands a2ensite and a2dissite take the site name without ".conf" at the end. For instance, if you create a Virtual Host definition in file foo.conf you should call sudo a2ensite foo to enable it.

  • references

Dialogue & Discussion