Skip to content

Instantly share code, notes, and snippets.

@jmeyo
Last active August 29, 2015 13:56
Show Gist options
  • Save jmeyo/8864822 to your computer and use it in GitHub Desktop.
Save jmeyo/8864822 to your computer and use it in GitHub Desktop.
Update apache after upgrading Ubuntu to 13.10

Apache 2.4 now use .conf files for vhost, so you need to upgrade your old vhost

for name in `ls /etc/apache2/sites-available|grep -v conf`;do 
    sudo mv /etc/apache2/sites-available/$name /etc/apache2/sites-available/$name.conf ;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment