<IfModule mod_alias.c>
    Alias /cgit/ /var/www/cgit/
</IfModule>

<Directory "/var/www/cgit/">
	AllowOverride None
	Options ExecCGI
	DirectoryIndex cgit.cgi
	AddHandler cgi-script .cgi
	Order allow,deny
	Allow from all
</Directory>
