diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/apache-gitweb.conf.erb | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/templates/apache-gitweb.conf.erb b/templates/apache-gitweb.conf.erb index 5a11424..f850777 100644 --- a/templates/apache-gitweb.conf.erb +++ b/templates/apache-gitweb.conf.erb @@ -2,17 +2,11 @@ NameVirtualHost *:<%= port %> <VirtualHost *:<%= port %>> ServerName <%= name %> DocumentRoot <%= docroot %> - SuexecUserGroup git git + #SuexecUserGroup gitolite gitolite RewriteEngine on RewriteRule ^/$ /index.cgi [L] -<% if ssl == true -%> - SSLEngine on - SSLCertificateFile /etc/ssl/certs/gitweb.cert - SSLCertificateKeyFile /etc/ssl/private/gitweb.key -<% end -%> - <Directory <%= docroot %>> Options ExecCGI +FollowSymLinks +SymLinksIfOwnerMatch AllowOverride All @@ -22,8 +16,8 @@ NameVirtualHost *:<%= port %> DirectoryIndex gitweb.cgi AuthType Basic AuthName "Gitweb" - AuthUserFile /home/git/.htpasswd - Require valid-user + AuthUserFile /var/lib/gitolite/.htpasswd + #Require valid-user </Directory> ErrorLog /var/log/apache2/<%= name %>_error.log |