aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-05-04 11:31:43 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-05-04 11:31:43 -0300
commit5eb398318fd79d5f48f386fa9f9fcda3a3f91da4 (patch)
treef0188cc5feacdaf3618e5c9e1334137fb644b4b4 /templates
parent739c79f3636f7b105dadab293cdb59349da554fa (diff)
downloadpuppet-bootstrap-5eb398318fd79d5f48f386fa9f9fcda3a3f91da4.tar.gz
puppet-bootstrap-5eb398318fd79d5f48f386fa9f9fcda3a3f91da4.tar.bz2
Updates git vhost
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