diff --git a/modules/cgit/files/cgit.conf b/modules/cgit/files/cgit.conf index 791d01bda2..3ca820f689 100644 --- a/modules/cgit/files/cgit.conf +++ b/modules/cgit/files/cgit.conf @@ -1,2 +1,4 @@ Alias /cgit-data /usr/share/cgit ScriptAlias /cgit /var/www/cgi-bin/cgit +RewriteEngine On +RewriteRule ^/$ /cgit [R]