2 ## cgitrc: template for /etc/cgitrc
6 ## root folder for git repos
10 ## base for virtual urls. If specified, rewrite rules must be added to
11 ## httpd.conf. Possible rules for /git/ when cgit.cgi is accessed as /cgit.cgi:
13 ## RewriteRule ^/git/$ /cgit.cgi [L,QSA]
14 ## RewriteRule ^/git/([^/]+)/$ /cgit.cgi?r=$1 [L,QSA]
15 ## RewriteRule ^/git/([^/]+)/([^/]+)/$ /cgit.cgi?r=$1&p=$2 [L,QSA]
20 ## page title for the root page (repo listing)
21 #root-title=Git repository browser
32 ## url loaded when clicking the logo
33 #logo-link=http://www.kernel.org/pub/software/scm/git/docs/
36 ## set number of initial chars to show of commit subject message in log views
37 #max-message-length=60
40 ## Set to 1 to deactivate caching of generated pages
44 ## root path for cached output
45 #cache-root=/var/cache/cgit
49 ## Time-To-Live settings: specify how long (in minutes) different pages should
50 ## be cached. Specify 0 for instant expiration and -1 for immortal pages
53 ## ttl for root page (repo listing)
56 ## ttl for repo summary page
59 ## ttl for other dynamic pages
62 ## ttl for static pages (addressed by SHA-1)