fix rewriting in apache2 config