etc/apache2/git.conf
branchv_0
changeset 21 735961d9596e
child 22 b2cb46ae50f7
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/etc/apache2/git.conf	Wed Apr 24 17:29:04 2019 +0200
     1.3 @@ -0,0 +1,23 @@
     1.4 +<VirtualHost *:80>
     1.5 +		ServerName  …
     1.6 +		ServerAlias …
     1.7 +
     1.8 +		ServerAdmin webmaster@localhost
     1.9 +		DocumentRoot /var/www/html
    1.10 +
    1.11 +		Alias /cgit-css "/usr/share/cgit/"
    1.12 +		ScriptAlias / "/usr/lib/cgit/cgit.cgi/"
    1.13 +		<Directory "/usr/share/cgit/">
    1.14 +			AllowOverride None
    1.15 +			Options None
    1.16 +			Require all granted
    1.17 +		</Directory>
    1.18 +		<Directory "/usr/lib/cgit/">
    1.19 +			AllowOverride None
    1.20 +			Options ExecCGI FollowSymlinks
    1.21 +			Require all granted
    1.22 +		</Directory>
    1.23 +
    1.24 +		ErrorLog ${APACHE_LOG_DIR}/error.log
    1.25 +		CustomLog ${APACHE_LOG_DIR}/access.log combined
    1.26 +</VirtualHost>