Apache mod_rewrite added and VirtualHost template added.
Removed redundant code from apt cookbook recipe.