AllowOverride None # Apache 2.x Order allow,deny Allow from all # Apache 2.4 Require all granted # Version 1 (default): under /cgi-bin/gitweb.cgi address Alias /cgi-bin/static/ /usr/share/gitweb/static/ ScriptAlias /cgi-bin/gitweb.cgi /usr/lib/cgi-bin/gitweb.cgi # Apache 2.x Order allow,deny Allow from all # Apache 2.4 Require all granted SetEnv GITWEB_CONFIG "/etc/webapps/gitweb/gitweb.conf" # # Version 2: gitweb as a handler to whole vhost: # # ServerName gitweb # # Alias /static /usr/share/gitweb/static # DocumentRoot /usr/lib/cgi-bin # AddHandler cgi-script .cgi # DirectoryIndex gitweb.cgi # # Options ExecCGI # # Apache 2.x # # Order allow,deny # Allow from all # # # Apache 2.4 # # Require all granted # # # SetEnv GITWEB_CONFIG "/etc/webapps/gitweb/gitweb.conf" #