84366dab8675fa2cf47de9872adc7ce812a980e8
[packages/cgit.git] / cgit-httpd.conf
1 <Directory /usr/share/cgit>
2         AllowOverride None
3         Require all granted
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
10 <Location /cgi-bin/cgit.cgi>
11         Require all granted
12 </Location>
13
14 # Version 2: cgit as a handler to whole vhost:
15 #<VirtualHost *:80>
16 #       ServerName cgit
17 #
18 #       Alias /cgit/ /usr/share/cgit/
19 #       DocumentRoot /usr/lib/cgi-bin/cgit.cgi
20 #       <Location />
21 #               Options ExecCGI
22 #               Require all granted
23 #       </Location>
24 #</VirtualHost>
This page took 0.043168 seconds and 2 git commands to generate.