1 <Directory /usr/share/gitweb>
4 <IfModule !mod_authz_core.c>
9 <IfModule mod_authz_core.c>
14 # Version 1 (default): under /cgi-bin/gitweb.cgi address
15 Alias /cgi-bin/static/ /usr/share/gitweb/static/
16 ScriptAlias /cgi-bin/gitweb.cgi /usr/lib/cgi-bin/gitweb.cgi
17 <Location /cgi-bin/gitweb.cgi>
19 <IfModule !mod_authz_core.c>
24 <IfModule mod_authz_core.c>
28 SetEnv GITWEB_CONFIG "/etc/webapps/gitweb/gitweb.conf"
31 # Version 2: gitweb as a handler to whole vhost:
35 # Alias /static /usr/share/gitweb/static
36 # DocumentRoot /usr/lib/cgi-bin
37 # AddHandler cgi-script .cgi
38 # DirectoryIndex gitweb.cgi
42 # <IfModule !mod_authz_core.c>
47 # <IfModule mod_authz_core.c>
51 # SetEnv GITWEB_CONFIG "/etc/webapps/gitweb/gitweb.conf"