1 <Directory /usr/share/gitweb>
6 # Version 1 (default): under /cgi-bin/gitweb.cgi address
7 Alias /cgi-bin/static/ /usr/share/gitweb/static/
8 ScriptAlias /cgi-bin/gitweb.cgi /usr/lib/cgi-bin/gitweb.cgi
9 <Location /cgi-bin/gitweb.cgi>
12 SetEnv GITWEB_CONFIG "/etc/webapps/gitweb/gitweb.conf"
15 # Version 2: gitweb as a handler to whole vhost:
19 # Alias /static /usr/share/gitweb/static
20 # DocumentRoot /usr/lib/cgi-bin
21 # AddHandler cgi-script .cgi
22 # DirectoryIndex gitweb.cgi
27 # SetEnv GITWEB_CONFIG "/etc/webapps/gitweb/gitweb.conf"