]>
Commit | Line | Data |
---|---|---|
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 | ScriptAlias /cgi-bin/gitweb.cgi /usr/lib/cgi-bin/gitweb.cgi | |
8 | Alias /gitweb/ /usr/share/gitweb/ | |
9 | <Location /cgi-bin/gitweb.cgi> | |
10 | Allow from All | |
11 | </Location> | |
12 | ||
13 | # Version 2: gitweb as a handler to whole vhost: | |
14 | #<VirtualHost *:80> | |
15 | # ServerName gitweb | |
16 | # | |
17 | # Alias /gitweb/ /usr/share/gitweb/ | |
18 | # DocumentRoot /usr/lib/cgi-bin/gitweb.cgi | |
19 | # <Location /> | |
20 | # Options ExecCGI | |
21 | # Allow from All | |
22 | # </Location> | |
23 | #</VirtualHost> |