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
franta-hg@21
     1
<VirtualHost *:80>
franta-hg@21
     2
		ServerName  …
franta-hg@21
     3
		ServerAlias …
franta-hg@21
     4
franta-hg@21
     5
		ServerAdmin webmaster@localhost
franta-hg@21
     6
		DocumentRoot /var/www/html
franta-hg@21
     7
franta-hg@21
     8
		Alias /cgit-css "/usr/share/cgit/"
franta-hg@21
     9
		ScriptAlias / "/usr/lib/cgit/cgit.cgi/"
franta-hg@21
    10
		<Directory "/usr/share/cgit/">
franta-hg@21
    11
			AllowOverride None
franta-hg@21
    12
			Options None
franta-hg@21
    13
			Require all granted
franta-hg@21
    14
		</Directory>
franta-hg@21
    15
		<Directory "/usr/lib/cgit/">
franta-hg@21
    16
			AllowOverride None
franta-hg@21
    17
			Options ExecCGI FollowSymlinks
franta-hg@21
    18
			Require all granted
franta-hg@21
    19
		</Directory>
franta-hg@21
    20
franta-hg@21
    21
		ErrorLog ${APACHE_LOG_DIR}/error.log
franta-hg@21
    22
		CustomLog ${APACHE_LOG_DIR}/access.log combined
franta-hg@21
    23
</VirtualHost>