aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/apache/vhosts/git.erb4
1 files changed, 4 insertions, 0 deletions
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]
+
+ <IfModule mpm_itk_module>
+ AssignUserId www-data git
+ </IfModule>
</VirtualHost>
# end vhost for git