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