etc/apache2/git.conf
author František Kučera <franta-hg@frantovo.cz>
Thu, 29 Oct 2020 19:21:19 +0100
branchv_0
changeset 24 1d46fb79b1af
parent 22 b2cb46ae50f7
permissions -rw-r--r--
allow the ~ character in the URL
     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>