aboutsummaryrefslogtreecommitdiffstats
path: root/debian/README.Debian
blob: 50ed51039fa75be7bb0ee0218f8b3f646508cb0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
cgit for Debian
---------------

To use with apache2 2.4 or later, enable /etc/apache2/conf-available/cgit.conf
and reload server, then open http://your-server/cgit/.

    # a2enconf cgit.conf
    # service apache2 reload

For apache2 prior to 2.4, make a symlink of cgit.conf in /etc/apache2/conf.d/
manually instead.

    # ln -s /etc/apache2/conf-available/cgit.conf /etc/apache2/conf.d
    # service apache2 reload

Alternatively, you can include cgit.conf from <VirtualHost> defined in any site
configuration.

The configuration file is /etc/cgitrc or $CGIT_CONFIG if defined.  You need to
add repository definitions in the file.  See cgitrc(5) for more details.

 -- YAEGASHI Takeshi <yaegashi@debian.org>  Fri, 14 Feb 2014 20:57:51 +0900