AllowOverride None Allow from All # Version 1 (default): under /cgi-bin/cgit.cgi address ScriptAlias /cgi-bin/cgit.cgi /usr/lib/cgi-bin/cgit.cgi Alias /cgit/ /usr/share/cgit/ Allow from All # Version 2: cgit as a handler to whole vhost: # # ServerName cgit # # Alias /cgit/ /usr/share/cgit/ # DocumentRoot /usr/lib/cgi-bin/cgit.cgi # # Options ExecCGI # Allow from All # #