summaryrefslogtreecommitdiff
path: root/templates/apache-gitweb.conf.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/apache-gitweb.conf.erb')
-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