From: Silvio Rhatto Date: Wed, 4 May 2016 14:31:43 +0000 (-0300) Subject: Updates git vhost X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=5eb398318fd79d5f48f386fa9f9fcda3a3f91da4;p=puppet-bootstrap.git Updates git vhost --- diff --git a/templates/apache/vhosts/git.erb b/templates/apache/vhosts/git.erb index 89173ac..5f767e0 100644 --- a/templates/apache/vhosts/git.erb +++ b/templates/apache/vhosts/git.erb @@ -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] + + + AssignUserId www-data git + # end vhost for git