]> git.pld-linux.org Git - packages/cgit.git/blob - cgit-httpd.conf
- updated to 0.9.1
[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.088091 seconds and 3 git commands to generate.