author | Michael Krelin <hacker@klever.net> | 2007-09-14 17:28:09 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-09-14 17:28:09 (UTC) |
commit | 7921572fb1fd28ec7523fcf5ed03eaf8a3432e65 (patch) (unidiff) | |
tree | 64c8b99be12bd3ade5d926e2d18b0039062d899d /cgitrc | |
parent | 0602d8c4f0b6752c59fd417364b26ed9447f3743 (diff) | |
download | cgit-7921572fb1fd28ec7523fcf5ed03eaf8a3432e65.zip cgit-7921572fb1fd28ec7523fcf5ed03eaf8a3432e65.tar.gz cgit-7921572fb1fd28ec7523fcf5ed03eaf8a3432e65.tar.bz2 |
fixed typo in cgitrc
Signed-off-by: Michael Krelin <hacker@klever.net>
-rw-r--r-- | cgitrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -39,122 +39,122 @@ | |||
39 | ## --count=1 > $GIT_DIR/info/web/last-modifie | 39 | ## --count=1 > $GIT_DIR/info/web/last-modifie |
40 | ## | 40 | ## |
41 | #agefile=info/web/last-modified | 41 | #agefile=info/web/last-modified |
42 | 42 | ||
43 | 43 | ||
44 | ## Specify a root for virtual urls. This makes cgit generate urls like | 44 | ## Specify a root for virtual urls. This makes cgit generate urls like |
45 | ## | 45 | ## |
46 | ## http://localhost/git/repo/log/?h=branch | 46 | ## http://localhost/git/repo/log/?h=branch |
47 | ## | 47 | ## |
48 | ## instead of | 48 | ## instead of |
49 | ## | 49 | ## |
50 | ## http://localhost/cgit/cgit.cgi?url=repo/log&h=branch | 50 | ## http://localhost/cgit/cgit.cgi?url=repo/log&h=branch |
51 | ## | 51 | ## |
52 | ## For this to work with apache, a rewrite rule must be added to httpd.conf, | 52 | ## For this to work with apache, a rewrite rule must be added to httpd.conf, |
53 | ## possibly looking something like this: | 53 | ## possibly looking something like this: |
54 | ## | 54 | ## |
55 | ## RewriteRule ^/git/(.*)$ /cgit/cgit.cgi?url=$1 [L,QSA] | 55 | ## RewriteRule ^/git/(.*)$ /cgit/cgit.cgi?url=$1 [L,QSA] |
56 | ## | 56 | ## |
57 | ## For this to work with lighttpd, the rewrite rule should look more like this: | 57 | ## For this to work with lighttpd, the rewrite rule should look more like this: |
58 | ## | 58 | ## |
59 | ## url.rewrite = ( | 59 | ## url.rewrite = ( |
60 | ## "^/git/([^?/]+/[^?]*)?(?:\?(.*))?$" => "/cgit.cgi?url=$1&$2" | 60 | ## "^/git/([^?/]+/[^?]*)?(?:\?(.*))?$" => "/cgit.cgi?url=$1&$2" |
61 | ## ) | 61 | ## ) |
62 | ## | 62 | ## |
63 | ## This setting is disabled by default. | 63 | ## This setting is disabled by default. |
64 | #virtual-root=/git | 64 | #virtual-root=/git |
65 | 65 | ||
66 | 66 | ||
67 | ## Set the title printed on the root page | 67 | ## Set the title printed on the root page |
68 | #root-title=Git repository browser | 68 | #root-title=Git repository browser |
69 | 69 | ||
70 | 70 | ||
71 | ## If specified, the file at this path will be included as HTML in the index | 71 | ## If specified, the file at this path will be included as HTML in the index |
72 | ## of repositories | 72 | ## of repositories |
73 | #index-header= | 73 | #index-header= |
74 | 74 | ||
75 | 75 | ||
76 | ## Link to css file | 76 | ## Link to css file |
77 | #css=/cgit/cgit.css | 77 | #css=/cgit/cgit.css |
78 | 78 | ||
79 | 79 | ||
80 | ## Link to logo file | 80 | ## Link to logo file |
81 | #logo=/cgit/git-logo.png | 81 | #logo=/cgit/git-logo.png |
82 | 82 | ||
83 | 83 | ||
84 | ## Url loaded when clicking the logo | 84 | ## Url loaded when clicking the logo |
85 | #logo-link=http://www.kernel.org/pub/software/scm/git/docs/ | 85 | #logo-link=http://www.kernel.org/pub/software/scm/git/docs/ |
86 | 86 | ||
87 | 87 | ||
88 | ## Url loaded when clicking a submodule link | 88 | ## Url loaded when clicking a submodule link |
89 | #module-link=./?repo=%s&page=commit&id=%s | 89 | #module-link=./?repo=%s&page=commit&id=%s |
90 | 90 | ||
91 | 91 | ||
92 | ## Number of chars shown of repo description (in repolist view) | 92 | ## Number of chars shown of repo description (in repolist view) |
93 | #max-repodesc-length=60 | 93 | #max-repodesc-length=60 |
94 | 94 | ||
95 | 95 | ||
96 | ## Number of chars shown of commit subject message (in log view) | 96 | ## Number of chars shown of commit subject message (in log view) |
97 | #max-message-length=60 | 97 | #max-message-length=60 |
98 | 98 | ||
99 | 99 | ||
100 | ## Number of commits per page in log view | 100 | ## Number of commits per page in log view |
101 | #max-commit-count=50 | 101 | #max-commit-count=50 |
102 | 102 | ||
103 | 103 | ||
104 | ## Root of cached output | 104 | ## Root of cached output |
105 | #cache-root=/var/cache/cgit | 105 | #cache-root=/var/cache/cgit |
106 | 106 | ||
107 | 107 | ||
108 | ## Include another config-file | 108 | ## Include another config-file |
109 | #include=/var/cgit/repolist | 109 | #include=/var/cgit/repolist |
110 | 110 | ||
111 | ## | 111 | ## |
112 | ## Time-To-Live settings: specifies how long (in minutes) different pages | 112 | ## Time-To-Live settings: specifies how long (in minutes) different pages |
113 | ## should be cached (0 for instant expiration, -1 for immortal pages) | 113 | ## should be cached (0 for instant expiration, -1 for immortal pages) |
114 | ## | 114 | ## |
115 | 115 | ||
116 | ## ttl for root page | 116 | ## ttl for root page |
117 | #cache-root-ttl=5 | 117 | #cache-root-ttl=5 |
118 | 118 | ||
119 | ## ttl for repo summary page | 119 | ## ttl for repo summary page |
120 | #cache-repo-ttl=5 | 120 | #cache-repo-ttl=5 |
121 | 121 | ||
122 | ## ttl for other dynamic pages | 122 | ## ttl for other dynamic pages |
123 | #cache-dynamic-ttl=5 | 123 | #cache-dynamic-ttl=5 |
124 | 124 | ||
125 | ## ttl for static pages (addressed by SHA-1) | 125 | ## ttl for static pages (addressed by SHA-1) |
126 | #cache-static-ttl=-1 | 126 | #cache-static-ttl=-1 |
127 | 127 | ||
128 | 128 | ||
129 | 129 | ||
130 | ## Example repository entry. Required values are repo.url and repo.path (each | 130 | ## Example repository entry. Required values are repo.url and repo.path (each |
131 | ## repository section must start with repo.url). | 131 | ## repository section must start with repo.url). |
132 | #repo.url=cgit | 132 | #repo.url=cgit |
133 | #repo.name=cgit | 133 | #repo.name=cgit |
134 | #repo.desc=the caching cgi for git | 134 | #repo.desc=the caching cgi for git |
135 | #repo.path=/pub/git/cgit ## this is the path to $GIR_DIR | 135 | #repo.path=/pub/git/cgit ## this is the path to $GIT_DIR |
136 | #repo.owner=Lars Hjemli | 136 | #repo.owner=Lars Hjemli |
137 | #repo.defbranch=master ## define a default branch | 137 | #repo.defbranch=master ## define a default branch |
138 | #repo.snapshots=tar.bz2 ## override a sitewide snapshot-setting | 138 | #repo.snapshots=tar.bz2 ## override a sitewide snapshot-setting |
139 | #repo.enable-log-filecount=0 ## override the default filecount setting | 139 | #repo.enable-log-filecount=0 ## override the default filecount setting |
140 | #repo.enable-log-linecount=0 ## override the default linecount setting | 140 | #repo.enable-log-linecount=0 ## override the default linecount setting |
141 | #repo.module-link=/git/%s/commit/?id=%s ## override the standard module-link | 141 | #repo.module-link=/git/%s/commit/?id=%s ## override the standard module-link |
142 | #repo.readme=info/web/readme ## specify a file to include on summary page | 142 | #repo.readme=info/web/readme ## specify a file to include on summary page |
143 | 143 | ||
144 | ## Additional repositories grouped under "mirrors" | 144 | ## Additional repositories grouped under "mirrors" |
145 | #repo.group=mirrors | 145 | #repo.group=mirrors |
146 | 146 | ||
147 | #repo.url=git | 147 | #repo.url=git |
148 | #repo.path=/pub/git/git | 148 | #repo.path=/pub/git/git |
149 | # | 149 | # |
150 | #repo.url=linux | 150 | #repo.url=linux |
151 | #repo.path=/pub/git/linux | 151 | #repo.path=/pub/git/linux |
152 | 152 | ||
153 | ## A group of private repositories (with a working directory) | 153 | ## A group of private repositories (with a working directory) |
154 | #repo.group=private | 154 | #repo.group=private |
155 | 155 | ||
156 | #repo.url=larsh/cgit | 156 | #repo.url=larsh/cgit |
157 | #repo.path=/home/larsh/src/cgit/.git | 157 | #repo.path=/home/larsh/src/cgit/.git |
158 | 158 | ||
159 | #repo.url=larsh/git | 159 | #repo.url=larsh/git |
160 | #repo.path=/home/larsh/src/git/.git | 160 | #repo.path=/home/larsh/src/git/.git |