-rw-r--r-- | cgitrc | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -1,15 +1,11 @@ ## ## cgitrc: template for /etc/cgitrc ## -## root folder for git repos -#root=/usr/src/git - - ## base for virtual urls. If specified, rewrite rules must be added to ## httpd.conf. Possible rules for /git/ when cgit.cgi is accessed as /cgit.cgi: ## ## RewriteRule ^/git/$ /cgit.cgi [L,QSA] ## RewriteRule ^/git/([^/]+)/$ /cgit.cgi?r=$1 [L,QSA] ## RewriteRule ^/git/([^/]+)/([^/]+)/$ /cgit.cgi?r=$1&p=$2 [L,QSA] @@ -58,6 +54,15 @@ ## ttl for other dynamic pages #cache-dynamic-ttl=5 ## ttl for static pages (addressed by SHA-1) #cache-static-ttl=-1 + + + +## Example repository entry +#repo.url=cgit +#repo.name=cgit +#repo.desc=the caching cgi for git +#repo.path=/pub/git/cgit +#repo.owner=Lars Hjemli |