]> git.pld-linux.org Git - packages/cgit.git/blame - cgit-httpd.conf
- apache1/apache2 config
[packages/cgit.git] / cgit-httpd.conf
CommitLineData
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
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.022885 seconds and 4 git commands to generate.