fix .htaccess and enable mod_rewrite in travis config