2 ## cgitrc: template for /etc/cgitrc
6 ## base for virtual urls. If specified, rewrite rules must be added to
7 ## httpd.conf. Possible rules for /git/ when cgit.cgi is accessed as /cgit.cgi:
9 ## RewriteRule ^/git/$ /cgit.cgi [L,QSA]
10 ## RewriteRule ^/git/([^/]+)/$ /cgit.cgi?r=$1 [L,QSA]
11 ## RewriteRule ^/git/([^/]+)/([^/]+)/$ /cgit.cgi?r=$1&p=$2 [L,QSA]
16 ## page title for the root page (repo listing)
17 #root-title=Git repository browser
28 ## url loaded when clicking the logo
29 #logo-link=http://www.kernel.org/pub/software/scm/git/docs/
32 ## set number of initial chars to show of commit subject message in log views
33 #max-message-length=60
36 ## Set to 1 to deactivate caching of generated pages
40 ## root path for cached output
41 #cache-root=/var/cache/cgit
45 ## Time-To-Live settings: specify how long (in minutes) different pages should
46 ## be cached. Specify 0 for instant expiration and -1 for immortal pages
49 ## ttl for root page (repo listing)
52 ## ttl for repo summary page
55 ## ttl for other dynamic pages
58 ## ttl for static pages (addressed by SHA-1)
63 ## Example repository entry
66 #repo.desc=the caching cgi for git
67 #repo.path=/pub/git/cgit
68 #repo.owner=Lars Hjemli