Added sudo a2enmod rewrite