+++ /dev/null
-<VirtualHost *:80>
- ServerName git.giorgioravera.it
- ServerAdmin giorgio@giorgioravera.it
- RewriteEngine on
- RewriteCond %{HTTPS} !=on
- RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [NE,R,L]
-</VirtualHost>
-
-<IfModule mod_ssl.c>
- <VirtualHost *:443>
- ServerName git.giorgioravera.it
- ServerAdmin giorgio@giorgioravera.it
-
- DocumentRoot /usr/share/gitweb
-# DocumentRoot /var/lib/gitolite3/repositories
-# <Directory /var/lib/gitolite3/repositories>
-# Options ExecCGI Indexes FollowSymLinks
-# AllowOverride All
-# Require all granted
-# </Directory>
- ScriptAlias /git /var/www/git.giorgioravera.it/bin/git-http-backend-wrapper
- SuExecUserGroup "git" "git"
-
- # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
- # error, crit, alert, emerg.
- # It is also possible to configure the loglevel for particular
- # modules, e.g.
- #LogLevel info ssl:warn
-
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
-
- # For most configuration files from conf-available/, which are
- # enabled or disabled at a global level, it is possible to
- # include a line for only one particular virtual host. For example the
- # following line enables the CGI configuration for this host only
- # after it has been globally disabled with "a2disconf".
- #Include conf-available/serve-cgi-bin.conf
-
-# <Location />
-# AuthType Basic
-# AuthName "Private Git Access"
-# AuthBasicAuthoritative on
-# AuthBasicProvider ldap
-#
-# AuthLDAPURL "ldap://localhost/dc=giorgioravera,dc=it?uid"
-# AuthLDAPGroupAttributeIsDN off
-# AuthLDAPGroupAttribute memberUid
-# Require ldap-user xraver lalaura
-# #Require ldap-group cn=versioning,ou=Groups,dc=giorgioravera,dc=it
-# #<Limit GET PROPFIND OPTIONS REPORT>
-# # Require ldap-group cn=clients,ou=Groups,dc=giorgioravera,dc=it
-# #</Limit>
-# </Location>
-
- # Include websvn configuration
- Include conf-available/gitweb.conf
-
- # Include repository configurations
- Include git/*
- </VirtualHost>
-</IfModule>
-
-# vim: syntax=apache ts=4 sw=4 sts=4 sr noet