]>
Commit | Line | Data |
---|---|---|
876ede40 AG |
1 | <Directory /usr/share/cgit> |
2 | AllowOverride None | |
3 | Allow from All | |
4 | </Directory> | |
5 | ||
6 | # Version 1 (default): under /cgi-bin/cgit.cgi address | |
7 | ScriptAlias /cgi-bin/cgit.cgi /usr/lib/cgi-bin/cgit.cgi | |
8 | Alias /cgit/ /usr/share/cgit/ | |
9 | <Location /cgi-bin/cgit.cgi> | |
10 | Allow from All | |
11 | </Location> | |
12 | ||
13 | # Version 2: cgit as a handler to whole vhost: | |
14 | #<VirtualHost *:80> | |
15 | # ServerName cgit | |
16 | # | |
17 | # Alias /cgit/ /usr/share/cgit/ | |
18 | # DocumentRoot /usr/lib/cgi-bin/cgit.cgi | |
19 | # <Location /> | |
20 | # Options ExecCGI | |
21 | # Allow from All | |
22 | # </Location> | |
23 | #</VirtualHost> |