Added a line to a2enmod rewrite in installation so the rewrite changes work.