author | Harley Laue <losinggeneration@gmail.com> | 2008-05-21 00:08:21 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2008-05-21 05:39:57 (UTC) |
commit | e6b635c2b1a0b2c08170c70e8b9e59f4b9789431 (patch) (unidiff) | |
tree | 72c6b77ade6dda081e85d03ae3d3d21a25cc7bf9 | |
parent | 08a8757fa54ee70d31882344ca7f19de5cbe4690 (diff) | |
download | cgit-e6b635c2b1a0b2c08170c70e8b9e59f4b9789431.zip cgit-e6b635c2b1a0b2c08170c70e8b9e59f4b9789431.tar.gz cgit-e6b635c2b1a0b2c08170c70e8b9e59f4b9789431.tar.bz2 |
Added root-desc to default configuration.
Signed-off-by: Harley Laue <losinggeneration@gmail.com>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgitrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -69,48 +69,52 @@ | |||
69 | ## | 69 | ## |
70 | ## instead of | 70 | ## instead of |
71 | ## | 71 | ## |
72 | ## http://localhost/cgit/cgit.cgi?url=repo/log&h=branch | 72 | ## http://localhost/cgit/cgit.cgi?url=repo/log&h=branch |
73 | ## | 73 | ## |
74 | ## For this to work with apache, a rewrite rule must be added to httpd.conf, | 74 | ## For this to work with apache, a rewrite rule must be added to httpd.conf, |
75 | ## possibly looking something like this: | 75 | ## possibly looking something like this: |
76 | ## | 76 | ## |
77 | ## RewriteRule ^/git/(.*)$ /cgit/cgit.cgi?url=$1 [L,QSA] | 77 | ## RewriteRule ^/git/(.*)$ /cgit/cgit.cgi?url=$1 [L,QSA] |
78 | ## | 78 | ## |
79 | ## For this to work with lighttpd, the rewrite rule should look more like this: | 79 | ## For this to work with lighttpd, the rewrite rule should look more like this: |
80 | ## | 80 | ## |
81 | ## url.rewrite = ( | 81 | ## url.rewrite = ( |
82 | ## "^/git/([^?/]+/[^?]*)?(?:\?(.*))?$" => "/cgit.cgi?url=$1&$2" | 82 | ## "^/git/([^?/]+/[^?]*)?(?:\?(.*))?$" => "/cgit.cgi?url=$1&$2" |
83 | ## ) | 83 | ## ) |
84 | ## | 84 | ## |
85 | ## This setting is disabled by default. | 85 | ## This setting is disabled by default. |
86 | #virtual-root=/git | 86 | #virtual-root=/git |
87 | 87 | ||
88 | 88 | ||
89 | ## Set the title printed on the root page | 89 | ## Set the title printed on the root page |
90 | #root-title=Git repository browser | 90 | #root-title=Git repository browser |
91 | 91 | ||
92 | 92 | ||
93 | ## Set the description printed on the root page | ||
94 | #root-desc=a fast web interface for the git dscm | ||
95 | |||
96 | |||
93 | ## If specified, the file at this path will be included as HTML in the | 97 | ## If specified, the file at this path will be included as HTML in the |
94 | ## sidebar on the repository index page | 98 | ## sidebar on the repository index page |
95 | #index-info= | 99 | #index-info= |
96 | 100 | ||
97 | 101 | ||
98 | ## If specified, the file at this path will be included as HTML above | 102 | ## If specified, the file at this path will be included as HTML above |
99 | ## the repository index | 103 | ## the repository index |
100 | #index-header= | 104 | #index-header= |
101 | 105 | ||
102 | 106 | ||
103 | ## Link to css file | 107 | ## Link to css file |
104 | #css=/cgit/cgit.css | 108 | #css=/cgit/cgit.css |
105 | 109 | ||
106 | 110 | ||
107 | ## Link to logo file | 111 | ## Link to logo file |
108 | #logo=/cgit/git-logo.png | 112 | #logo=/cgit/git-logo.png |
109 | 113 | ||
110 | 114 | ||
111 | ## Url loaded when clicking the logo | 115 | ## Url loaded when clicking the logo |
112 | #logo-link=http://www.kernel.org/pub/software/scm/git/docs/ | 116 | #logo-link=http://www.kernel.org/pub/software/scm/git/docs/ |
113 | 117 | ||
114 | 118 | ||
115 | ## Url loaded when clicking a submodule link | 119 | ## Url loaded when clicking a submodule link |
116 | #module-link=./?repo=%s&page=commit&id=%s | 120 | #module-link=./?repo=%s&page=commit&id=%s |