summaryrefslogtreecommitdiffabout
path: root/cgitrc
Side-by-side diff
Diffstat (limited to 'cgitrc') (more/less context) (show whitespace changes)
-rw-r--r--cgitrc13
1 files changed, 9 insertions, 4 deletions
diff --git a/cgitrc b/cgitrc
index 7e7fae5..da3d138 100644
--- a/cgitrc
+++ b/cgitrc
@@ -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