etc/apache2/git.conf
author František Kučera <franta-hg@frantovo.cz>
Wed, 24 Apr 2019 17:29:04 +0200
branchv_0
changeset 21 735961d9596e
child 22 b2cb46ae50f7
permissions -rw-r--r--
configuration
     1 <VirtualHost *:80>
     2 		ServerName  …
     3 		ServerAlias …
     4 
     5 		ServerAdmin webmaster@localhost
     6 		DocumentRoot /var/www/html
     7 
     8 		Alias /cgit-css "/usr/share/cgit/"
     9 		ScriptAlias / "/usr/lib/cgit/cgit.cgi/"
    10 		<Directory "/usr/share/cgit/">
    11 			AllowOverride None
    12 			Options None
    13 			Require all granted
    14 		</Directory>
    15 		<Directory "/usr/lib/cgit/">
    16 			AllowOverride None
    17 			Options ExecCGI FollowSymlinks
    18 			Require all granted
    19 		</Directory>
    20 
    21 		ErrorLog ${APACHE_LOG_DIR}/error.log
    22 		CustomLog ${APACHE_LOG_DIR}/access.log combined
    23 </VirtualHost>