allow the smart git http backend cgi
authorPeter Palfrader <peter@palfrader.org>
Mon, 13 Jul 2015 15:00:30 +0000 (17:00 +0200)
committerPeter Palfrader <peter@palfrader.org>
Mon, 13 Jul 2015 15:00:30 +0000 (17:00 +0200)
modules/roles/files/dgit/git.dgit.debian.org

index 4eafe3f..80fcd06 100644 (file)
        AliasMatch ^/git/(.*/objects/[0-9a-f]{2}/[0-9a-f]{38})$          /srv/dgit.debian.org/unpriv/repos/$1
        AliasMatch ^/git/(.*/objects/pack/pack-[0-9a-f]{40}.(pack|idx))$ /srv/dgit.debian.org/unpriv/repos/$1
        ScriptAlias /git/ /usr/lib/git-core/git-http-backend/
+       <Directory "/usr/lib/git-core/">
+               Options ExecCGI Indexes
+               Require all granted
+       </Directory>
 
        RewriteEngine On
        RewriteRule ^/$ http://browse.dgit.debian.org/ [L,R=301]