Options -MultiViews RewriteEngine On #RewriteBase /path/to/gitlist/ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php [L,NC] order allow,deny deny from all