Added support for both Ubuntu 12.04 and Ubuntu 14.04 by checking the Ubuntu version. Refactored vhost content code. Fixed a filename in an if statement.