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