]> gitweb.fluxo.info Git - puppet-bootstrap.git/commitdiff
Updates git vhost
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 4 May 2016 14:31:43 +0000 (11:31 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 4 May 2016 14:31:43 +0000 (11:31 -0300)
templates/apache/vhosts/git.erb

index 89173acd313ea1a5baafc0b8ba91d6a8bffb7a9b..5f767e0b4fde70a98179d2dc8cbd1363c275489d 100644 (file)
@@ -17,5 +17,9 @@
     # Rewrite all other paths that aren't git repo internals to gitweb
     RewriteRule ^/$ /gitweb [PT]
     RewriteRule ^/(.*\.git/(?!/?(HEAD|info|objects|refs)).*)?$ /gitweb%{REQUEST_URI} [L,PT]
+
+   <IfModule mpm_itk_module>
+     AssignUserId www-data git
+   </IfModule>
 </VirtualHost>
 # end vhost for git