From 5eb398318fd79d5f48f386fa9f9fcda3a3f91da4 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 4 May 2016 11:31:43 -0300 Subject: Updates git vhost --- templates/apache/vhosts/git.erb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'templates/apache') 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 -- cgit v1.2.3