]>
Commit | Line | Data |
---|---|---|
8bb520fe JR |
1 | <Directory /usr/share/gitweb> |
2 | AllowOverride None | |
3 | Allow from All | |
4 | </Directory> | |
5 | ||
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> | |
10 | Allow from All | |
11 | </Location> | |
12 | SetEnv GITWEB_CONFIG "/etc/webapps/gitweb/gitweb.conf" | |
13 | ||
14 | # | |
15 | # Version 2: gitweb as a handler to whole vhost: | |
16 | #<VirtualHost *:80> | |
17 | # ServerName gitweb | |
18 | # | |
19 | # Alias /static /usr/share/gitweb/static | |
20 | # DocumentRoot /usr/lib/cgi-bin | |
21 | # AddHandler cgi-script .cgi | |
22 | # DirectoryIndex gitweb.cgi | |
23 | # <Location /> | |
24 | # Options ExecCGI | |
25 | # Allow from All | |
26 | # </Location> | |
27 | # SetEnv GITWEB_CONFIG "/etc/webapps/gitweb/gitweb.conf" | |
28 | #</VirtualHost> |