Stop serving git and bzr repos on db.d.o
authorJulien Cristau <jcristau@debian.org>
Fri, 8 Nov 2019 09:41:51 +0000 (10:41 +0100)
committerJulien Cristau <jcristau@debian.org>
Fri, 8 Nov 2019 09:41:51 +0000 (10:41 +0100)
modules/roles/files/dbmaster/apache-db.debian.org.conf

index 70fc508..7ea1140 100644 (file)
     AddHandler cgi-script .cgi
   </Directory>
 
-  # git stuff
-  #################
-  <Directory /srv/db.debian.org/git>
-    DirectoryIndex index.html
-    Require all granted
-  </Directory>
-
-  Alias /git-classic/ /srv/db.debian.org/git/
-
-  SetEnv GIT_PROJECT_ROOT /srv/db.debian.org/git
-  AliasMatch ^/git/(.*/objects/[0-9a-f]{2}/[0-9a-f]{38})$          /srv/db.debian.org/git/$1
-  AliasMatch ^/git/(.*/objects/pack/pack-[0-9a-f]{40}.(pack|idx))$ /srv/db.debian.org/git/$1
-  ScriptAlias /git/ /usr/lib/git-core/git-http-backend/
-  <Directory /usr/lib/git-core>
-    Require all granted
-  </Directory>
-
-
-  # The rewrite is just there so we get a directory index.
-  RewriteEngine on
-  RewriteRule ^/git$ /git/ [R]
-  RewriteRule ^/git/$ /git-classic/ [PT]
-
-  #################
-  Alias /bzr /srv/db.debian.org/bzr/
-  <Directory /srv/db.debian.org/bzr>
-    DirectoryIndex index.html
-  </Directory>
 </VirtualHost>
 
 # vim:ft=apache: