2 ## cgitrc: template for /etc/cgitrc
6 ## Uncomment and set to 1 to deactivate caching of generated pages. Mostly
7 ## usefull for testing.
11 ## Specify a root for virtual urls. This makes cgit generate urls like
13 ## http://localhost/git/repo/log/?id=master
17 ## http://localhost/cgit/cgit.cgi?r=repo&p=log&id=master
19 ## For this to work with apache, rewrite rules must be added to httpd.conf,
20 ## possibly looking something like this:
22 ## RewriteRule ^/git/$ /cgit/cgit.cgi [L,QSA]
23 ## RewriteRule ^/git/([^/]+)/$ /cgit/cgit.cgi?r=$1 [L,QSA]
24 ## RewriteRule ^/git/([^/]+)/([^/]+)/$ /cgit/cgit.cgi?r=$1&p=$2 [L,QSA]
26 ## This setting is disabled by default.
30 ## Set the title printed on the root page
31 #root-title=Git repository browser
39 #logo=/cgit/git-logo.png
42 ## Url loaded when clicking the logo
43 #logo-link=http://www.kernel.org/pub/software/scm/git/docs/
46 ## Number of chars shown of commit subject message (in log view)
47 #max-message-length=60
50 ## Root of cached output
51 #cache-root=/var/cache/cgit
55 ## Time-To-Live settings: specifies how long (in minutes) different pages
56 ## should be cached (0 for instant expiration, -1 for immortal pages)
62 ## ttl for repo summary page
65 ## ttl for other dynamic pages
68 ## ttl for static pages (addressed by SHA-1)
73 ## Example repository entry. Required values are repo.url and repo.path (each
74 ## repository section must start with repo.url).
77 #repo.desc=the caching cgi for git
78 #repo.path=/pub/git/cgit
79 #repo.owner=Lars Hjemli