Rewrite rule in .htaccess points to root of document directory #214

wimrijnders opened this Issue Nov 28, 2012 · 1 comment


None yet
3 participants

wimrijnders commented Nov 28, 2012

The rewrite rule is:

RewriteRule ^(.*)$ /index.php [L,NC]

Due to the slash, the redirection is always to the document root of the webserver. If you're not running gitlist on root, or in a virtual host, this lead to a 404 error.

Better is to keep the redirection relative. This will work in all situations:

RewriteRule ^(.*)$ index.php [L,NC]

marcoscoelho commented Dec 19, 2012


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment