etc/apache2/git.conf
author František Kučera <franta-hg@frantovo.cz>
Sun, 08 Jan 2023 12:37:15 +0100
branchv_0
changeset 25 1088fd70d17c
parent 22 b2cb46ae50f7
child 26 0f42cc368775
permissions -rw-r--r--
fix URL regexp
     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>