Enabled mod-rewrite in apache2 role.