]> git.pld-linux.org Git - packages/cgit.git/blame - cgit-apache.conf
- migrate to apache 2.4
[packages/cgit.git] / cgit-apache.conf
CommitLineData
6e601396
JR
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
7ScriptAlias /cgi-bin/cgit.cgi /usr/lib/cgi-bin/cgit.cgi
8Alias /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.059354 seconds and 4 git commands to generate.