diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-05-04 11:31:43 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-05-04 11:31:43 -0300 |
commit | 5eb398318fd79d5f48f386fa9f9fcda3a3f91da4 (patch) | |
tree | f0188cc5feacdaf3618e5c9e1334137fb644b4b4 /templates | |
parent | 739c79f3636f7b105dadab293cdb59349da554fa (diff) | |
download | puppet-bootstrap-5eb398318fd79d5f48f386fa9f9fcda3a3f91da4.tar.gz puppet-bootstrap-5eb398318fd79d5f48f386fa9f9fcda3a3f91da4.tar.bz2 |
Updates git vhost
Diffstat (limited to 'templates')
-rw-r--r-- | templates/apache/vhosts/git.erb | 4 |
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 |