From e27803486119069356995a2e74ac6632fbff5fe8 Mon Sep 17 00:00:00 2001 From: Adrien Thebo Date: Tue, 20 Mar 2012 12:15:07 -0700 Subject: Add suexec and rewrite to gitweb --- templates/apache-gitweb.conf.erb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'templates') 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 %> > ServerName <%= name %> DocumentRoot <%= docroot %> + SuexecUserGroup git git + + RewriteEngine on + RewriteRule ^/$ /index.cgi [L] <% if ssl == true -%> SSLEngine on -- cgit v1.2.3