]> git.pld-linux.org Git - packages/cgit.git/blob - cgit-apache.conf
cc0b45ade3f662fd4676d065d1fccec907a13e76
[packages/cgit.git] / cgit-apache.conf
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>
This page took 0.04405 seconds and 2 git commands to generate.