diff --git a/plinth/modules/gitweb/data/etc/apache2/conf-available/gitweb-freedombox.conf b/plinth/modules/gitweb/data/etc/apache2/conf-available/gitweb-freedombox.conf index 16e1d6936..21bdd2469 100644 --- a/plinth/modules/gitweb/data/etc/apache2/conf-available/gitweb-freedombox.conf +++ b/plinth/modules/gitweb/data/etc/apache2/conf-available/gitweb-freedombox.conf @@ -10,7 +10,7 @@ # All git operations are handled by git-http-backend CGI script. Rest of the # HTTP requests (say sent by the browser) are handled by gitweb. ScriptAliasMatch \ - "(?x)^/gitweb/(.*/(HEAD | \ + "(?x)^/gitweb/([^/]+/(HEAD | \ info/refs | \ objects/(info/[^/]+ | \ [0-9a-f]{2}/[0-9a-f]{38} | \