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>
29 SetEnv GITWEB_CONFIG "/etc/webapps/gitweb/gitweb.conf"
33 # Version 2: gitweb as a handler to whole vhost:
37 # Alias /static /usr/share/gitweb/static
38 # DocumentRoot /usr/lib/cgi-bin
39 # AddHandler cgi-script .cgi
40 # DirectoryIndex gitweb.cgi
44 # <IfModule !mod_authz_core.c>
49 # <IfModule mod_authz_core.c>
53 # SetEnv GITWEB_CONFIG "/etc/webapps/gitweb/gitweb.conf"