summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAdrien Thebo <adrien@puppetlabs.com>2012-03-20 12:15:07 -0700
committerAdrien Thebo <adrien@puppetlabs.com>2012-03-20 12:15:07 -0700
commite27803486119069356995a2e74ac6632fbff5fe8 (patch)
tree9e49dc51d28fd79b5938cd6207e20d15cef5d0aa /templates
parentf32a3925b96aa668b0b7af9b46bc28ba76c7ca36 (diff)
Add suexec and rewrite to gitweb
Diffstat (limited to 'templates')
-rw-r--r--templates/apache-gitweb.conf.erb4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/apache-gitweb.conf.erb b/templates/apache-gitweb.conf.erb
index a490726..5a11424 100644
--- a/templates/apache-gitweb.conf.erb
+++ b/templates/apache-gitweb.conf.erb
@@ -2,6 +2,10 @@ NameVirtualHost *:<%= port %>
<VirtualHost *:<%= port %>>
ServerName <%= name %>
DocumentRoot <%= docroot %>
+ SuexecUserGroup git git
+
+ RewriteEngine on
+ RewriteRule ^/$ /index.cgi [L]
<% if ssl == true -%>
SSLEngine on