diff options
Diffstat (limited to 'templates/apache-gitweb.conf.erb')
-rw-r--r-- | templates/apache-gitweb.conf.erb | 4 |
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 |